From 2ec8bdb1b3d7852e65df5ee80ea3e921f5d33aea Mon Sep 17 00:00:00 2001 From: jellyfin-bot Date: Sat, 9 Nov 2024 23:35:24 +0000 Subject: [PATCH] Update API docs --- ...mponents_ItemGrid_LoadVideoContentTask.bs.html | 15 +++++++++++++++ docs/api/components_video_VideoPlayerView.bs.html | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/docs/api/components_ItemGrid_LoadVideoContentTask.bs.html b/docs/api/components_ItemGrid_LoadVideoContentTask.bs.html index 001b828b4..ebfac1cd9 100644 --- a/docs/api/components_ItemGrid_LoadVideoContentTask.bs.html +++ b/docs/api/components_ItemGrid_LoadVideoContentTask.bs.html @@ -117,6 +117,21 @@ end if end if + if videotype = "tvchannel" and isValid(meta.json) and isValid(meta.json.CurrentProgram) + if isValid(meta.json.CurrentProgram.Name) + meta.title = `${meta.title}: ${meta.json.CurrentProgram.Name}` + end if + if isValid(meta.json.CurrentProgram.ParentIndexNumber) + video.seasonNumber = meta.json.CurrentProgram.ParentIndexNumber + end if + if isValid(meta.json.CurrentProgram.IndexNumber) + video.episodeNumber = meta.json.CurrentProgram.IndexNumber + end if + if isValid(meta.json.CurrentProgram.IndexNumberEnd) + video.episodeNumberEnd = meta.json.CurrentProgram.IndexNumberEnd + end if + end if + video.chapters = meta.json.Chapters video.content.title = meta.title video.showID = meta.showID diff --git a/docs/api/components_video_VideoPlayerView.bs.html b/docs/api/components_video_VideoPlayerView.bs.html index ac764c940..4753c3c6a 100644 --- a/docs/api/components_video_VideoPlayerView.bs.html +++ b/docs/api/components_video_VideoPlayerView.bs.html @@ -414,7 +414,7 @@ m.osd.itemTitleText = m.top.content.title ' If video is an episode, attempt to add season and episode numbers to OSD - if m.top.content.contenttype = 4 + if m.top.content.contenttype = 4 or m.top.content.live if isValid(videoContent[0].seasonNumber) m.osd.seasonNumber = videoContent[0].seasonNumber end if