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

[Question] How to follow the current selected player name #302

Open
LDAP opened this issue Feb 28, 2023 · 0 comments
Open

[Question] How to follow the current selected player name #302

LDAP opened this issue Feb 28, 2023 · 0 comments

Comments

@LDAP
Copy link

LDAP commented Feb 28, 2023

I would like to follow the current (by playerctld) selected player name preferably using Glib bindings and events. (Receive for example an event when a new player appears, or playerctld shift is executed,..)

Currently I am working around that by following the metadata using playerctl metadata -p playerctld - F and executing playerctl metadata again when the metadata changes to get the current player name (to set an appropriate icon) which is not ideal.

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

1 participant