dynamic playlist erase warning: skip for finished playlists

Change-Id: I9d209a011024e658ffc4da0a723ae8f9ec407702
This commit is contained in:
Christian Soffke 2024-12-31 14:59:18 +01:00
parent a8540390c2
commit 3389a08d56

View file

@ -187,7 +187,8 @@ char *output_dyn_value(char *buf,
* returns true if the playlist should be replaced */ * returns true if the playlist should be replaced */
bool warn_on_pl_erase(void) bool warn_on_pl_erase(void)
{ {
if (global_settings.warnon_erase_dynplaylist && if (global_status.resume_index != -1 &&
global_settings.warnon_erase_dynplaylist &&
!global_settings.party_mode && !global_settings.party_mode &&
playlist_modified(NULL)) playlist_modified(NULL))
{ {