summaryrefslogtreecommitdiff
path: root/apps/playback.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/playback.c')
-rw-r--r--apps/playback.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/apps/playback.c b/apps/playback.c
index e33a4ac507..fe7b74893a 100644
--- a/apps/playback.c
+++ b/apps/playback.c
@@ -1002,8 +1002,13 @@ static void audio_update_trackinfo(void)
1002 thistrack_id3->elapsed = 0; 1002 thistrack_id3->elapsed = 0;
1003 1003
1004#ifdef HAVE_TAGCACHE 1004#ifdef HAVE_TAGCACHE
1005 /* Resume all manually selected tracks if so configured */ 1005 /* Ignoring resume position for automatic track change if so configured */
1006 resume = global_settings.autoresume_enable && !automatic_skip; 1006 resume = global_settings.autoresume_enable &&
1007 (!automatic_skip /* Resume all manually selected tracks */
1008 || global_settings.autoresume_automatic == AUTORESUME_NEXTTRACK_ALWAYS
1009 || (global_settings.autoresume_automatic != AUTORESUME_NEXTTRACK_NEVER
1010 /* Not never resume? */
1011 && autoresumable(thistrack_id3))); /* Pass Resume filter? */
1007#endif 1012#endif
1008 1013
1009 if (!resume) 1014 if (!resume)