mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-27 07:35:57 -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;
|
||||
|
||||
/* Don't add empty Special playlists */
|
||||
if ((plid > 1) && (plitems == PL_SPECIAL) && (pltype == 1))
|
||||
if ((plid > 1) && (plitems == 0) && (pltype == PL_SPECIAL))
|
||||
continue;
|
||||
|
||||
npls++;
|
||||
|
Loading…
Reference in New Issue
Block a user