(Fix FS#13281) Revert "Restore playlist state as necessary before checking whether current playlist has been modified"

This reverts commit 46085c8978.

Change-Id: Id8540bb44b64546389d06593d8ff46588b634b53
This commit is contained in:
Christian Soffke 2021-04-01 07:55:23 +02:00
parent 89acde6af2
commit 674c07d654

View file

@ -3436,11 +3436,7 @@ int playlist_sort(struct playlist_info* playlist, bool start_current)
bool playlist_modified(const struct playlist_info* playlist) bool playlist_modified(const struct playlist_info* playlist)
{ {
if (!playlist) if (!playlist)
{
playlist = &current_playlist; playlist = &current_playlist;
if (global_status.resume_index != -1 && !playlist->control_created && playlist_resume() == -1)
return false;
}
if (playlist->shuffle_modified || if (playlist->shuffle_modified ||
playlist->deleted || playlist->deleted ||