From b8ded7d674c510da7e69027fa64b62be794d0e2f Mon Sep 17 00:00:00 2001 From: Peter D'Hoye Date: Sat, 25 Aug 2007 16:05:58 +0000 Subject: [PATCH] Accept FS #7627: allow viewing of dynamic playlist when it has ended git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14456 a1c6a512-1295-4272-9138-f99709370657 --- apps/playlist_viewer.c | 6 ++++++ 1 file changed, 6 insertions(+) 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, /* Try to restore the list from control file */ have_list = (playlist_resume() != -1); } + if (!have_list && (playlist_amount() > 0)) + { + /*If dynamic playlist still exists, view it anyway even + if playback has reached the end of the playlist */ + have_list = true; + } if (!have_list) { /* Nothing to view, exit */