]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
Do not export the episode URI if it starts with tvh:// - these are just for internal...
authorDave Chapman <dave@dchapman.com>
Thu, 23 May 2013 09:10:34 +0000 (10:10 +0100)
committerDave Chapman <dave@dchapman.com>
Thu, 23 May 2013 09:10:34 +0000 (10:10 +0100)
src/htsp_server.c

index b6f2d462104a0f52621404f2437343d6148d8cf0..77dbb6c064b086dab541415f6df2452e93674e52 100644 (file)
@@ -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);