summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/playlist.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/playlist.c b/apps/playlist.c
index 6f26b6beda..2c3fa4958e 100644
--- a/apps/playlist.c
+++ b/apps/playlist.c
@@ -3435,7 +3435,11 @@ int playlist_sort(struct playlist_info* playlist, bool start_current)
bool playlist_modified(const struct playlist_info* playlist)
{
if (!playlist)
+ {
playlist = &current_playlist;
+ if (!playlist->control_created && playlist_resume() == -1)
+ return false;
+ }
if (playlist->shuffle_modified ||
playlist->deleted ||