mirror of
https://github.com/owntone/owntone-server.git
synced 2025-05-03 08:20:30 -04:00
parent
369771bda5
commit
83ac327d7f
@ -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)
|
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);
|
DPRINTF(E_INFO, L_SPOTIFY, "Ignoring playlist '%s' with %d tracks (%s)\n", playlist.name, playlist.tracks_count, playlist.uri);
|
||||||
return -1;
|
return 0; // Ignore
|
||||||
}
|
}
|
||||||
|
|
||||||
map_playlist_to_pli(&pli, &playlist);
|
map_playlist_to_pli(&pli, &playlist);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user