Add mpco to playlists, hardcode to 0 for now

This commit is contained in:
Kai Elwert 2010-07-31 10:40:39 +02:00 committed by Julien BLACHE
parent 931c0aac29
commit 4347731133

View File

@ -1832,6 +1832,9 @@ daap_reply_playlists(struct evhttp_request *req, struct evbuffer *evbuf, char **
if ((ret == 0) && (val > 0))
dmap_add_int(playlist, "mimc", val);
/* Container ID (mpco) */
dmap_add_int(playlist, "mpco", 0);
/* Base playlist (abpl), id = 1 */
val = 0;
ret = safe_atoi32(dbpli.id, &val);