Open acook opened 2 years ago
Can you explain your specific use-case? The musikcube
TUI client supports connecting "external" (aka "remote") instances, like those running in daemons and on other computers.
You should be able to do the following:
musikcube
TUI app and add any paths you want indexed (you've probably already done this).musikcube
, then start the musikcubed
daemonmusikcube
now that the daemon is running the server, then switch to settings
and change library type
to remote
and use localhost
as your hostname
. It should connect to the running daemon.
Interesting, I didn't notice that. Super cool for streaming to my other devices.
However, my goal was to have the daemon play the music so I could exit the UI and not interrupt playback.
Got it. Yeah, this is something that has already been implemented in the musikdroid
Android app, and I'd like to bring to the TUI as well. It's fully supported by the SDK and server plugin, it just needs to be implemented in the desktop app.
It'll require implementing the IPlaybackService
interface to use the WebSocket API
provided by the server.
There was an old ticket mentioning the feature, but I can't find it now.
Being able to kill my terminal is nice, but I noticed it the most when I was having to constantly stop the player to test a new configuration or load in a new color theme. It interrupted my flow haha
It would be great to be able to run
musikcubed --start
and then be able to control it from the localmusikcube
CLI.From looking around the code, the Ui seems pretty tightly coupled to the backend so this might be tricky.