summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/playback.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/apps/playback.c b/apps/playback.c
index 198337cd61..57fca1c00f 100644
--- a/apps/playback.c
+++ b/apps/playback.c
@@ -687,7 +687,6 @@ static void audio_skip(int direction)
687 wps_offset += direction; 687 wps_offset += direction;
688 /* Immediately update the playlist index */ 688 /* Immediately update the playlist index */
689 playlist_next(direction); 689 playlist_next(direction);
690 last_peek_offset -= direction;
691 track_changed = true; 690 track_changed = true;
692 } 691 }
693 else 692 else
@@ -2046,11 +2045,11 @@ static int audio_check_new_track(void)
2046 } 2045 }
2047 } 2046 }
2048 2047
2048 /* Update the playlist */
2049 last_peek_offset -= ci.new_track;
2050
2049 if (auto_dir_skip) 2051 if (auto_dir_skip)
2050 { 2052 {
2051 /* Update the playlist */
2052 last_peek_offset -= ci.new_track;
2053
2054 /* If the track change was the result of an auto dir skip, 2053 /* If the track change was the result of an auto dir skip,
2055 we need to update the playlist now */ 2054 we need to update the playlist now */
2056 next_playlist_index = playlist_next(ci.new_track); 2055 next_playlist_index = playlist_next(ci.new_track);