Skip to content

Add MusicBee Controller plugin#680

Open
Axforzi wants to merge 7 commits into
Flow-Launcher:mainfrom
Axforzi:main
Open

Add MusicBee Controller plugin#680
Axforzi wants to merge 7 commits into
Flow-Launcher:mainfrom
Axforzi:main

Conversation

@Axforzi

@Axforzi Axforzi commented Jun 13, 2026

Copy link
Copy Markdown
Contributor

Add manifest for the MusicBee Controller plugin, which allows users to search, play, and control MusicBee directly from Flow Launcher.

@deefrawley

deefrawley commented Jun 13, 2026

Copy link
Copy Markdown
Member

When browsing for musicbee.exe I get this:

1. Upload log file: C:\Users\Damien\AppData\Roaming\FlowLauncher\Logs\2.1.3\Flow.Launcher.2026-06-14.log
2. Copy below exception message

Flow Launcher version: 2.1.3
OS Version: 19045.7417
IntPtr Length: 8
x64: True

Python Path: C:\Users\Damien\AppData\Roaming\FlowLauncher\Environments\Python\PythonEmbeddable-v3.11.4\pythonw.exe
Node Path: C:\Users\Damien\AppData\Roaming\FlowLauncher\Environments\Node.js\Node-v16.18.0\node-v16.18.0-win-x64\node.exe

Date: 06/14/2026 08:40:05
Exception:
System.IO.InvalidDataException: Traceback (most recent call last):
  File "<string>", line 9, in <module>
  File "<frozen runpy>", line 291, in run_path
  File "<frozen runpy>", line 98, in _run_module_code
  File "<frozen runpy>", line 88, in _run_code
  File "C:\Users\Damien\AppData\Roaming\FlowLauncher\Plugins\Musicbee-1.0.0\main.py", line 13, in <module>
    Main()
  File "C:\Users\Damien\AppData\Roaming\FlowLauncher\Plugins\Musicbee-1.0.0\lib\flowlauncher\FlowLauncher.py", line 33, in __init__
    results = request_method(*request_parameters)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Damien\AppData\Roaming\FlowLauncher\Plugins\Musicbee-1.0.0\plugin\ui.py", line 57, in browse_file
    import tkinter as tk
ModuleNotFoundError: No module named 'tkinter'

   at Flow.Launcher.Core.Plugin.JsonRPCPlugin.ExecuteAsync(ProcessStartInfo startInfo, CancellationToken token) in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\JsonRPCPlugin.cs:line 220
   at Flow.Launcher.Core.Plugin.JsonRPCPlugin.ExecuteAsync(ProcessStartInfo startInfo, CancellationToken token) in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\JsonRPCPlugin.cs:line 225
   at Flow.Launcher.Core.Plugin.JsonRPCPlugin.ExecuteResultAsync(JsonRPCResult result) in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\JsonRPCPlugin.cs:line 95
   at Flow.Launcher.Core.Plugin.JsonRPCPluginBase.<>c__DisplayClass16_0.<<ParseResults>b__0>d.MoveNext() in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\JsonRPCPluginBase.cs:line 72
--- End of stack trace from previous location ---
   at Flow.Launcher.ViewModel.MainViewModel.OpenResultAsync(String index) in C:\projects\flow-launcher\Flow.Launcher\ViewModel\MainViewModel.cs:line 520
   at CommunityToolkit.Mvvm.Input.AsyncRelayCommand.AwaitAndThrowIfFailed(Task executionTask)
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object state)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

Is the tikinter library needed?

@Axforzi

Axforzi commented Jun 14, 2026

Copy link
Copy Markdown
Contributor Author

Okay, the problem should be resolved

@deefrawley

Copy link
Copy Markdown
Member

Where does it expect the itunes XML to be - with the executable? If so you should allow the user to choose the file as my library DB (and so XML file) is not where the executable is which is in the fact the MS Store version.

image

@Axforzi

Axforzi commented Jun 15, 2026

Copy link
Copy Markdown
Contributor Author

If you use MusicBee Portable, the XML file is in the same folder. Otherwise, it is in the MusicBee folder within your music directory. However, I have already fixed it so you can search for the file manually if it is not in either location.

@deefrawley

Copy link
Copy Markdown
Member

Found the XML file however none of the commands work. Pressing them in Flow does not affect the running musicbee instance

image

@jjw24

jjw24 commented Jul 4, 2026

Copy link
Copy Markdown
Member

Hi @Axforzi, any updates?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants