mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-29 00:23:23 -05:00
fix check for empty special playlists
This commit is contained in:
parent
baa97b886d
commit
6dc4d53ed9
@ -1686,7 +1686,7 @@ daap_reply_playlists(struct evhttp_request *req, struct evbuffer *evbuf, char **
|
|||||||
continue;
|
continue;
|
||||||
|
|
||||||
/* Don't add empty Special playlists */
|
/* Don't add empty Special playlists */
|
||||||
if ((plid > 1) && (plitems == PL_SPECIAL) && (pltype == 1))
|
if ((plid > 1) && (plitems == 0) && (pltype == PL_SPECIAL))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
npls++;
|
npls++;
|
||||||
|
Loading…
Reference in New Issue
Block a user