We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When no player is found, playerctl should exit with an exit code different than 0.
playerctl
if (!one_selected && !no_status_error_messages) { g_printerr("No players found\n"); return 2; }
This is so that playerctl can be used in script as follows
playerctl -l && playerctl metadata title
instead of directly having
playerctl metadata title
which results in scripts spamming stderr with No players found
No players found
The text was updated successfully, but these errors were encountered:
acrisci
No branches or pull requests
When no player is found,
playerctl
should exit with an exit code different than 0.This is so that
playerctl
can be used in script as followsplayerctl -l && playerctl metadata title
instead of directly having
which results in scripts spamming stderr with
No players found
The text was updated successfully, but these errors were encountered: