Do not export the episode URI if it starts with tvh:// - these are just for internal use within tvh.
This commit is contained in:
parent
833355d101
commit
8c5f9af36b
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue