[spotify] Don't log error if a playlist is empty

Fixes #1676
This commit is contained in:
ejurgensen 2023-10-28 17:37:57 +02:00
parent 369771bda5
commit 83ac327d7f
1 changed files with 2 additions and 2 deletions

View File

@ -1739,8 +1739,8 @@ saved_playlist_add(json_object *item, int index, int total, enum spotify_request
if (!playlist.uri || !playlist.name || playlist.tracks_count == 0)
{
DPRINTF(E_LOG, L_SPOTIFY, "Ignoring playlist '%s' with %d tracks (%s)\n", playlist.name, playlist.tracks_count, playlist.uri);
return -1;
DPRINTF(E_INFO, L_SPOTIFY, "Ignoring playlist '%s' with %d tracks (%s)\n", playlist.name, playlist.tracks_count, playlist.uri);
return 0; // Ignore
}
map_playlist_to_pli(&pli, &playlist);