Do not export the episode URI if it starts with tvh:// - these are just for internal use within tvh.

This commit is contained in:
Dave Chapman 2013-05-23 10:10:34 +01:00
parent 833355d101
commit 8c5f9af36b

View 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);