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

event_command: add songpause and songresume events #748

Closed
wants to merge 1 commit into from

Conversation

simpkins
Copy link
Contributor

@simpkins simpkins commented Apr 2, 2024

This adds code to invoke the event_command handler when playback is paused or resumed. This makes it possible to write an event_command handler that reports the current playback status.

This adds code to invoke the event_command handler when playback
is paused or resumed.  This makes it possible to write an event_command
handler that reports the current playback status.
@PromyLOPh
Copy link
Owner

As mentioned elsewhere (this is not the first time this feature has been proposed): These events are not enough to deduce the state of pianobar. They merely exist to support desktop notifications and limited scripting (like scrobbling to last.fm, if that’s still a thing). If you really need headless operation and full control, use pianod.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants