From 8c5f9af36b59f91652c96dd86a35d878ae2a2266 Mon Sep 17 00:00:00 2001 From: Dave Chapman Date: Thu, 23 May 2013 10:10:34 +0100 Subject: [PATCH] Do not export the episode URI if it starts with tvh:// - these are just for internal use within tvh. --- src/htsp_server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/htsp_server.c b/src/htsp_server.c index b6f2d462..77dbb6c0 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);