diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/playback.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/playback.c b/apps/playback.c index cc0c8a936f..ce0b45fe5e 100644 --- a/apps/playback.c +++ b/apps/playback.c | |||
@@ -964,6 +964,9 @@ static void audio_check_new_track(void) | |||
964 | /* Move to the new track */ | 964 | /* Move to the new track */ |
965 | cur_ti = &tracks[track_ridx]; | 965 | cur_ti = &tracks[track_ridx]; |
966 | 966 | ||
967 | if (automatic_skip) | ||
968 | playlist_end = false; | ||
969 | |||
967 | track_changed = !automatic_skip; | 970 | track_changed = !automatic_skip; |
968 | 971 | ||
969 | /* If it is not safe to even skip this many track entries */ | 972 | /* If it is not safe to even skip this many track entries */ |
@@ -2007,7 +2010,6 @@ static bool load_next_track(void) { | |||
2007 | { | 2010 | { |
2008 | ci.new_track++; | 2011 | ci.new_track++; |
2009 | automatic_skip = true; | 2012 | automatic_skip = true; |
2010 | playlist_end = false; | ||
2011 | } | 2013 | } |
2012 | 2014 | ||
2013 | cpu_boost(true); | 2015 | cpu_boost(true); |
@@ -2031,8 +2033,6 @@ static bool load_next_track(void) { | |||
2031 | case Q_CODEC_REQUEST_FAILED: | 2033 | case Q_CODEC_REQUEST_FAILED: |
2032 | ci.new_track = 0; | 2034 | ci.new_track = 0; |
2033 | ci.stop_codec = true; | 2035 | ci.stop_codec = true; |
2034 | if (automatic_skip) | ||
2035 | playlist_end = true; | ||
2036 | return false; | 2036 | return false; |
2037 | default: | 2037 | default: |
2038 | logf("Bad event on ccq"); | 2038 | logf("Bad event on ccq"); |