summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/playlist_viewer.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/playlist_viewer.c b/apps/playlist_viewer.c
index 4f991cf9cf..a466b7e730 100644
--- a/apps/playlist_viewer.c
+++ b/apps/playlist_viewer.c
@@ -281,6 +281,12 @@ static bool playlist_viewer_init(struct playlist_viewer * viewer,
281 /* Try to restore the list from control file */ 281 /* Try to restore the list from control file */
282 have_list = (playlist_resume() != -1); 282 have_list = (playlist_resume() != -1);
283 } 283 }
284 if (!have_list && (playlist_amount() > 0))
285 {
286 /*If dynamic playlist still exists, view it anyway even
287 if playback has reached the end of the playlist */
288 have_list = true;
289 }
284 if (!have_list) 290 if (!have_list)
285 { 291 {
286 /* Nothing to view, exit */ 292 /* Nothing to view, exit */