SpotPRIS2
SpotPRIS2 copied to clipboard
Is it possible to stop the actual spotify client from showing up in the player list when using spotpris2?
Thank you for creating this. Installed it on neon 5.20.3 and it works perfectly.
However the kde media player status bar plugin defaults to the spotify application and I was wondering if there was a way to stop that behaviour? Since spotpris2 isn't relying on it, possibly blocking all mpris messages from it would solve the issue?
As far as I know there isn't a way to disable the mpris interface in spotify. However if you run spotpris with -s it will "steal" spotify's mpris name. This requires starting spotpris before spotify.
I'm using the version installed by pip and apparently that's not a thing?
morgan@angua:~/.config/systemd/user$ spotpris2 -s
usage: spotpris2 [-h] [-d DEVICE [DEVICE ...]] [-i DEVICE [DEVICE ...]] [-a] [-l [{name,id}]]
spotpris2: error: unrecognized arguments: -s
morgan@angua:~/.config/systemd/user$ spotpris2 -h
usage: spotpris2 [-h] [-d DEVICE [DEVICE ...]] [-i DEVICE [DEVICE ...]] [-a] [-l [{name,id}]]
Control Spotify Connect devices using MPRIS2
optional arguments:
-h, --help show this help message and exit
-d DEVICE [DEVICE ...], --devices DEVICE [DEVICE ...]
Only create interfaces for the listed devices
-i DEVICE [DEVICE ...], --ignore DEVICE [DEVICE ...]
Ignore the listed devices
-a, --auto Automatically control the active device
-l [{name,id}], --list [{name,id}]
List available devices and exit
morgan@angua:~/.config/systemd/user$
Oh. Sorry. Looks like I haven't pushed a release to PIP since implementing that. I'll see if I can find some time to do that in the next few days.
You can also manually install from the master branch, if you want to get that feature now.
@freundTech any news on that new release?