diff options
Diffstat (limited to 'apps/playback.c')
-rw-r--r-- | apps/playback.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/playback.c b/apps/playback.c index 329e8b856b..6b4b37170d 100644 --- a/apps/playback.c +++ b/apps/playback.c | |||
@@ -3271,6 +3271,8 @@ static void audio_stop_playback(void) | |||
3271 | /* Save the current playing spot, or NULL if the playlist has ended */ | 3271 | /* Save the current playing spot, or NULL if the playlist has ended */ |
3272 | playlist_update_resume_info(id3); | 3272 | playlist_update_resume_info(id3); |
3273 | 3273 | ||
3274 | prev_track_elapsed = CUR_TI->id3.elapsed; | ||
3275 | |||
3274 | /* Increment index so runtime info is saved in audio_clear_track_entries(). | 3276 | /* Increment index so runtime info is saved in audio_clear_track_entries(). |
3275 | * Done here, as audio_stop_playback() may be called more than once. | 3277 | * Done here, as audio_stop_playback() may be called more than once. |
3276 | * Don't update runtime unless playback is stopped because of end of playlist. | 3278 | * Don't update runtime unless playback is stopped because of end of playlist. |