You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I listen to music either through Spotify or audacious, and I don't want my media keys to be able to control Firefox. So I've bound this command to my media keys:
playerctl --ignore-player=firefox play-pause
plus variants for previous and next.
This has worked perfectly for a long time. However, several weeks ago, I've noticed that play-pause was suddenly able to affect Firefox, despite the --ignore-player flag.
It also appears to take priority over any other opened players. If Firefox is running, and it has any tab with playable media opened, my play-pause command will control Firefox, no matter what. Only if Firefox is closed, or has no tabs with media, will the command be able to control Spotify or audacious.
The previous and next commands still function correctly. But it's possible that this is only because Firefox doesn't accept these commands.
I tried to fix this by, instead of excluding firefox, specifying only audacious and Spotify:
playerctl --player=audacious,spotify play-pause
Sadly it doesn't work. This command should not speak to any players that aren't audacious or Spotify, but it can still control Firefox, and will prioritize Firefox if available.
Both the ignore-player and player flags appear to work correctly with other players. I've tested this by keeping Firefox closed and putting various different players including spotify, audacious, vlc, and mpv in the flags. Only Firefox seems to be affected by this issue.
The text was updated successfully, but these errors were encountered:
Seems like a local problem. This works with an open youtube tab. Note about the --player= instead of --ignore-player= which makes certain you are sending the command to the correct player regardless of the current order of playerctl --list which otherwise has to be changed with playerctld shift 🙊 ...
I listen to music either through Spotify or audacious, and I don't want my media keys to be able to control Firefox. So I've bound this command to my media keys:
playerctl --ignore-player=firefox play-pause
plus variants for
previous
andnext
.This has worked perfectly for a long time. However, several weeks ago, I've noticed that play-pause was suddenly able to affect Firefox, despite the
--ignore-player
flag.It also appears to take priority over any other opened players. If Firefox is running, and it has any tab with playable media opened, my play-pause command will control Firefox, no matter what. Only if Firefox is closed, or has no tabs with media, will the command be able to control Spotify or audacious.
The
previous
andnext
commands still function correctly. But it's possible that this is only because Firefox doesn't accept these commands.I tried to fix this by, instead of excluding firefox, specifying only audacious and Spotify:
playerctl --player=audacious,spotify play-pause
Sadly it doesn't work. This command should not speak to any players that aren't audacious or Spotify, but it can still control Firefox, and will prioritize Firefox if available.
Both the
ignore-player
andplayer
flags appear to work correctly with other players. I've tested this by keeping Firefox closed and putting various different players including spotify, audacious, vlc, and mpv in the flags. Only Firefox seems to be affected by this issue.The text was updated successfully, but these errors were encountered: