Stop issue playlist continuing when disabling AutoPlaylist
If you use the "music" playlist on boot, it'll keep it going even when you manually override to something else. This seems to fix this condition.
This commit is contained in:
@@ -303,6 +303,7 @@ class AutoPlaylistUsermod : public Usermod {
|
||||
#ifdef USERMOD_AUTO_PLAYLIST_DEBUG
|
||||
USER_PRINTF("AutoPlaylist: disable due to manual change of playlist from %u to %d, preset:%u\n", lastAutoPlaylist, currentPlaylist, currentPreset);
|
||||
#endif
|
||||
suspendPlaylist();
|
||||
functionality_enabled = false;
|
||||
} else if (currentPlaylist == musicPlaylist) {
|
||||
#ifdef USERMOD_AUTO_PLAYLIST_DEBUG
|
||||
|
||||
Reference in New Issue
Block a user