-
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
Feature Request: set order of players #143
Comments
We could generalize and implement a wildcard character. The obvious choice is
|
That would do the trick. As for
|
I agree on this issue. Chrome is a PITA these days, as there's a video in nearly every web pages... after a recent update the browser is always in front of my media players. I would like to give priority back to my media players. |
For somebody stumbling here I have a small script that does it for me.
The higher players in the list have higher priority. Any players not in the list will have a lower priority than every player in the file.
#!/usr/bin/env bash
playerctl --player=$((cat ~/.player-priority 2>/dev/null; echo; playerctl -l)|awk '!x[$0]++'|paste -sd,) $*
Anyways, this wouldn't be required once the feature is implemented as suggested in the comments above. |
If you're interested in better player selection, please join the discussion at #161. |
Hi,
Thank you very much for the amazing tool!
It would be great to have an option on the cli to set the order in which players should be considered. One way to do so would be to add a flag when listing the players. For example
would trigger the
next
action on spotify (if found). Otherwise, it tries with any other player.Internally, I guess this could be done by sorting and then push the selected players to the top of the list in the order they appear in the CLI.
The text was updated successfully, but these errors were encountered: