mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-29 08:33:23 -05:00
[web] Merge previous commits
This commit is contained in:
commit
31406da911
@ -149,12 +149,8 @@ library_playlist_save(struct playlist_info *pli)
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!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
|
||||||
// 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);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (pli->id == 0)
|
if (pli->id == 0)
|
||||||
return db_pl_add(pli);
|
return db_pl_add(pli);
|
||||||
|
Loading…
Reference in New Issue
Block a user