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
This commit is contained in:
parent
583f186ce4
commit
b8ded7d674
1 changed files with 6 additions and 0 deletions
|
@ -281,6 +281,12 @@ static bool playlist_viewer_init(struct playlist_viewer * viewer,
|
||||||
/* Try to restore the list from control file */
|
/* Try to restore the list from control file */
|
||||||
have_list = (playlist_resume() != -1);
|
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)
|
if (!have_list)
|
||||||
{
|
{
|
||||||
/* Nothing to view, exit */
|
/* Nothing to view, exit */
|
||||||
|
|
Loading…
Reference in a new issue