Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
morgangrubb opened this issue Nov 29, 2020 · 4 comments

Comments

@morgangrubb
Copy link

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?

@freundTech
Copy link
Owner

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.

@morgangrubb
Copy link
Author

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$ 

@freundTech
Copy link
Owner

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.

@TiGR
Copy link

TiGR commented Jul 9, 2021

@freundTech any news on that new release?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants