···281281 /* Try to restore the list from control file */
282282 have_list = (playlist_resume() != -1);
283283 }
284284+ if (!have_list && (playlist_amount() > 0))
285285+ {
286286+ /*If dynamic playlist still exists, view it anyway even
287287+ if playback has reached the end of the playlist */
288288+ have_list = true;
289289+ }
284290 if (!have_list)
285291 {
286292 /* Nothing to view, exit */