-
Notifications
You must be signed in to change notification settings - Fork 80
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
--ignore-player flag dosen't work when player (-p) is set to playerctld #192
Comments
This is actually working as intended because If you want playerctld to ignore a certain player, there's no way to do that right now. How would you like to accomplish that? One option would be to have a config file at some standard location playerctld reads at startup. You could configure your list of ignored players in there. |
Hey, thanks for the quick reply ! i guess one way to do it would be to maintain a fifo queue of active players and when the flag ignore is used it just go to the next but that would indeed require quite a lot of change. it is quite sad that mpris dosen't do it by itself and we kind of have to poll dbus. also i am not a big fan of using a config file for that purpose as in the ideal scenario i'd like to settup a keybind to toggle ignoring or not chromium, as sometime i might want to control a youtube playlist but that's not the case most of the time. but don't feel pressured to do all that work if you don't feel like it is necessary. |
It might be ok to add another meta-player like we have for
|
@acrisci yup this is a good idea, you summed it up better than i could |
I would accept this feature into the project. I normally get around to things like this eventually, but if someone wants to take it up go ahead. |
Spotify is active most of the time and spurious browser players invocations like youtube are undesirable. Keep this around until this issue is addressed: altdesktop/playerctl#192 Signed-off-by: Erik Skultety <skultety.erik@gmail.com>
I think I can get away with implementing this without any user changes. When |
I no longer recommend selecting playerctld in the list of players. Just have it running and then it will select players in order of activity after all the selection filters are applied. I'm working on a way to enable playerctld for a user as a separate step. |
Oh thank you for all the work ! :) |
title is pretty explicit but here is an example :
will play-pause mpd altough it should ignore it.
why would i want to do that is pretty simple.
i might want to play-pause the last active player that isn't chromium for example.
The text was updated successfully, but these errors were encountered: