From 674c07d654d3ce626dd0972b83f9e687103882e0 Mon Sep 17 00:00:00 2001 From: Christian Soffke Date: Thu, 1 Apr 2021 07:55:23 +0200 Subject: (Fix FS#13281) Revert "Restore playlist state as necessary before checking whether current playlist has been modified" This reverts commit 46085c897854d145b5313c009fb70af428f0e6bd. Change-Id: Id8540bb44b64546389d06593d8ff46588b634b53 --- apps/playlist.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/apps/playlist.c b/apps/playlist.c index 228ddcfd7e..7cd264e821 100644 --- a/apps/playlist.c +++ b/apps/playlist.c @@ -3436,11 +3436,7 @@ int playlist_sort(struct playlist_info* playlist, bool start_current) bool playlist_modified(const struct playlist_info* playlist) { if (!playlist) - { playlist = ¤t_playlist; - if (global_status.resume_index != -1 && !playlist->control_created && playlist_resume() == -1) - return false; - } if (playlist->shuffle_modified || playlist->deleted || -- cgit v1.2.3