-
Notifications
You must be signed in to change notification settings - Fork 398
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
🚀 | "next_song" performing no action when no next song is available #2327
Comments
Good feature request. It would be great if that above is the standard behavior |
I think this is what the following PR is trying to solve?! |
Hrm, the linked PR will behave in the following way:
@IgorWalton Is that what you're after? If not, we would have to make (2) configurable as well. |
|
Edit: I'm updating #2326 to add the no action behavior for (1). |
You can still add it, if you want |
* Avoid MPD-related crashes during all prev/next() calls. * Explicitly handle prev() in stopped state, configurable via `playermpd.stopped_prev_action`. * Explicitly handle next() in stopped state, configurable via `playermpd.stopped_next_action`. * Explicitly handle next() when reaching the end of the playlist: jukebox-daemon will now stop playing by default (similar to v2). It can also be configured to restart the playlist instead by setting the new config option `playermpd.end_of_playlist_next_action: rewind` or to ignore the action completely. Fixes MiczFlor#2294 Fixes MiczFlor#2327 Co-authored-by: pabera <[email protected]>
* Avoid MPD-related crashes during all prev/next() calls. * Explicitly handle prev() in stopped state, configurable via `playermpd.stopped_prev_action`. * Explicitly handle next() in stopped state, configurable via `playermpd.stopped_next_action`. * Explicitly handle next() when reaching the end of the playlist: jukebox-daemon will now ignore the action by default (similar to v2). It can also be configured to rewind the playlist instead by setting the new config option `playermpd.end_of_playlist_next_action: rewind` or to stop playing. Fixes MiczFlor#2294 Fixes MiczFlor#2327 Co-authored-by: pabera <[email protected]>
#2326 should now technically cover this.
Done.
This should now behave similar to the case when running |
* Avoid MPD-related crashes during all prev/next() calls. * Explicitly handle prev() in stopped state, configurable via `playermpd.stopped_prev_action`. * Explicitly handle next() in stopped state, configurable via `playermpd.stopped_next_action`. * Explicitly handle next() when reaching the end of the playlist: jukebox-daemon will now ignore the action by default (similar to v2). It can also be configured to rewind the playlist instead by setting the new config option `playermpd.end_of_playlist_next_action: rewind` or to stop playing. Fixes MiczFlor#2294 Fixes MiczFlor#2327 Co-authored-by: pabera <[email protected]>
* Avoid MPD-related crashes during all prev/next() calls. * Explicitly handle prev() in stopped state, configurable via `playermpd.stopped_prev_action`. * Explicitly handle next() in stopped state, configurable via `playermpd.stopped_next_action`. * Explicitly handle next() when reaching the end of the playlist: jukebox-daemon will now ignore the action by default (similar to v2). It can also be configured to rewind the playlist instead by setting the new config option `playermpd.end_of_playlist_next_action: rewind` or to stop playing. Fixes MiczFlor#2294 Fixes MiczFlor#2327 Co-authored-by: pabera <[email protected]>
* utils: Add get_config_action This abstracts away the functionality to resolve a given config option to an action in a pre-defined dict. Co-authored-by: Christian Hoffmann <[email protected]> * Fix PlayerMPD.prev/next() when stopped * Avoid MPD-related crashes during all prev/next() calls. * Explicitly handle prev() in stopped state, configurable via `playermpd.stopped_prev_action`. * Explicitly handle next() in stopped state, configurable via `playermpd.stopped_next_action`. * Explicitly handle next() when reaching the end of the playlist: jukebox-daemon will now ignore the action by default (similar to v2). It can also be configured to rewind the playlist instead by setting the new config option `playermpd.end_of_playlist_next_action: rewind` or to stop playing. Fixes #2294 Fixes #2327 Co-authored-by: pabera <[email protected]> --------- Co-authored-by: pabera <[email protected]>
#2326 has been merged to future3/develop |
Feature
I would like the next_song GPIO button to do nothing, when there is no next song available (last track of a folder or single track without any folder). Currently this will stop the playback.
User perspective
I imagine my (very young) child will pretty randomly press all of the available buttons, so this behaviour would be better suited.
Further information
using Jukebox Core Version 3.5.2
The text was updated successfully, but these errors were encountered: