From 43477311337e7ab8a41da762d3d74bb3d03bb9a1 Mon Sep 17 00:00:00 2001 From: Kai Elwert Date: Sat, 31 Jul 2010 10:40:39 +0200 Subject: [PATCH] Add mpco to playlists, hardcode to 0 for now --- src/httpd_daap.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/httpd_daap.c b/src/httpd_daap.c index 5b33ffb0..531ffe8a 100644 --- a/src/httpd_daap.c +++ b/src/httpd_daap.c @@ -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);