From 10b10f8037b0dc1ddb6a068ff88b7c5794fd6606 Mon Sep 17 00:00:00 2001 From: whatdoineed2do/Ray Date: Sun, 8 Mar 2020 20:08:20 +0000 Subject: [PATCH] [daap] RSS support: podcasts visible on IOS Remote app IOS appl generates request for itunes.extended-media-kind: 4,36,6,7 when navigating "Podcasts" item on menu --- src/httpd_daap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/httpd_daap.c b/src/httpd_daap.c index 1c6472e5..749fb968 100644 --- a/src/httpd_daap.c +++ b/src/httpd_daap.c @@ -481,7 +481,7 @@ user_agent_filter(struct query_params *qp, struct httpd_request *hreq) // contained extended_media_kind:1, which characterise the queries we want // to filter. TODO: Not a really nice way of doing this, but best I could // think of. - if (!qp->filter || !strstr(qp->filter, "f.media_kind")) + if (!qp->filter || !strstr(qp->filter, "f.media_kind") || (qp->filter && strstr(qp->filter, "f.media_kind = 4"))) return; filter = safe_asprintf("%s AND (f.data_kind <> %d)", qp->filter, DATA_KIND_HTTP);