SpotPRIS2 icon indicating copy to clipboard operation
SpotPRIS2 copied to clipboard

Is it possible to stop the actual spotify client from showing up in the player list when using spotpris2?

Open morgangrubb opened this issue 5 years ago • 4 comments

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?

morgangrubb avatar Nov 29 '20 19:11 morgangrubb

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.

freundTech avatar Nov 29 '20 20:11 freundTech

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$ 

morgangrubb avatar Nov 29 '20 21:11 morgangrubb

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 avatar Nov 30 '20 13:11 freundTech

@freundTech any news on that new release?

TiGR avatar Jul 09 '21 07:07 TiGR