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:
Julien BLACHE 2010-01-22 19:02:29 +01:00
parent 1af1cf51c7
commit d3fe586d5b

View File

@ -1170,13 +1170,13 @@ daap_reply_songlist_generic(struct evhttp_request *req, struct evbuffer *evbuf,
memset(&qp, 0, sizeof(struct query_params));
get_query_params(query, &qp);
if (playlist < 2)
qp.type = Q_ITEMS;
else
if (playlist != -1)
{
qp.type = Q_PLITEMS;
qp.pl_id = playlist;
}
else
qp.type = Q_ITEMS;
ret = db_query_start(&qp);
if (ret < 0)