From f0df3f276f1bd9b5e35ec2b370f272c22a8a8562 Mon Sep 17 00:00:00 2001 From: ejurgensen Date: Sat, 25 Nov 2023 22:07:50 +0100 Subject: [PATCH] [library] Remove false log warning --- src/library.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/library.c b/src/library.c index 4463d9a6..9797da93 100644 --- a/src/library.c +++ b/src/library.c @@ -149,12 +149,8 @@ library_playlist_save(struct playlist_info *pli) return -1; } - if (!pli->directory_id || !pli->virtual_path) - { - // Missing informations for virtual_path and directory_id (may) lead to misplaced appearance in mpd clients - DPRINTF(E_WARN, L_LIB, "Playlist with missing values (path='%s', directory='%d', virtual_path='%s')\n", - pli->path, pli->directory_id, pli->virtual_path); - } + // Missing virtual_path and directory_id (may) lead to misplaced appearance in + // mpd clients, but for e.g. spotify:playlistfolder they will not be set if (pli->id == 0) return db_pl_add(pli);