Merge pull request #1600 from jimdogx/fix/jf-live-tv-not-guide
This commit is contained in:
commit
0947deaa30
|
@ -77,6 +77,21 @@ sub LoadItems_AddVideoContent(video as object, mediaSourceId as dynamic, audio_s
|
|||
|
||||
videotype = LCase(meta.type)
|
||||
|
||||
' Check for any Live TV streams coming from other places other than the TV Guide
|
||||
if isValid(meta.json) and isValid(meta.json.ChannelId)
|
||||
if isValid(meta.json.EpisodeTitle)
|
||||
meta.title = meta.json.EpisodeTitle
|
||||
else if isValid(meta.json.Name)
|
||||
meta.title = meta.json.Name
|
||||
end if
|
||||
meta.live = true
|
||||
if LCase(meta.json.type) = "program"
|
||||
video.id = meta.json.ChannelId
|
||||
else
|
||||
video.id = meta.json.id
|
||||
end if
|
||||
end if
|
||||
|
||||
if videotype = "episode" or videotype = "series"
|
||||
video.content.contenttype = "episode"
|
||||
end if
|
||||
|
|
Loading…
Reference in New Issue
Block a user