From: Dave Chapman Date: Thu, 23 May 2013 09:10:34 +0000 (+0100) Subject: Do not export the episode URI if it starts with tvh:// - these are just for internal... X-Git-Tag: v3.9~51^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8c5f9af36b59f91652c96dd86a35d878ae2a2266;p=thirdparty%2Ftvheadend.git Do not export the episode URI if it starts with tvh:// - these are just for internal use within tvh. --- diff --git a/src/htsp_server.c b/src/htsp_server.c index b6f2d4621..77dbb6c06 100644 --- a/src/htsp_server.c +++ b/src/htsp_server.c @@ -707,7 +707,7 @@ htsp_build_event if (ee) { htsmsg_add_u32(out, "episodeId", ee->id); - if (ee->uri) + if (ee->uri && strncasecmp(ee->uri,"tvh://",6)) /* tvh:// uris are internal */ htsmsg_add_str(out, "episodeUri", ee->uri); if (ee->brand) htsmsg_add_u32(out, "brandId", ee->brand->id);