mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-28 16:15:57 -05:00
Remove a special case for playlist #1
Not needed anymore, now that playlist #1 has been turned into a smart playlist.
This commit is contained in:
parent
1af1cf51c7
commit
d3fe586d5b
@ -1170,13 +1170,13 @@ daap_reply_songlist_generic(struct evhttp_request *req, struct evbuffer *evbuf,
|
|||||||
memset(&qp, 0, sizeof(struct query_params));
|
memset(&qp, 0, sizeof(struct query_params));
|
||||||
get_query_params(query, &qp);
|
get_query_params(query, &qp);
|
||||||
|
|
||||||
if (playlist < 2)
|
if (playlist != -1)
|
||||||
qp.type = Q_ITEMS;
|
|
||||||
else
|
|
||||||
{
|
{
|
||||||
qp.type = Q_PLITEMS;
|
qp.type = Q_PLITEMS;
|
||||||
qp.pl_id = playlist;
|
qp.pl_id = playlist;
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
qp.type = Q_ITEMS;
|
||||||
|
|
||||||
ret = db_query_start(&qp);
|
ret = db_query_start(&qp);
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user