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

Bug in playerctl status return 0 when fail #126

Closed
ArthurGorgonio opened this issue Mar 10, 2019 · 3 comments
Closed

Bug in playerctl status return 0 when fail #126

ArthurGorgonio opened this issue Mar 10, 2019 · 3 comments

Comments

@ArthurGorgonio
Copy link

ArthurGorgonio commented Mar 10, 2019

when I run $ playerctl status while spotify power off I got the message No players found.

so I run $ echo $? to know the status of the last command and it returns 0

P.S. In past the status when I execute this sequence was 1

in detail
Screenshot_20190309_223936

@acrisci
Copy link
Member

acrisci commented Mar 13, 2019

Yeah I need to make some tests for this.

@hedgehog1029
Copy link

not quite sure when this behavior changed, but it did also break a script of mine. it seems weird because this only broke recently, and the history of the playerctl-cli.c file shows no changes to that particular method this year. dunno if this is just Arch package cycle or what

@acrisci
Copy link
Member

acrisci commented Mar 15, 2019

I accidentally broke some subtle things in 2.0 because it was a big rewrite but I will change this back to what it was soon and do a 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