Skip to content

Commit

Permalink
[spotify] Don't log error if a playlist is empty
Browse files Browse the repository at this point in the history
Fixes #1676
  • Loading branch information
ejurgensen committed Oct 28, 2023
1 parent 369771b commit 83ac327
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/library/spotify_webapi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 83ac327

Please sign in to comment.