add episode and season number to video player header

This commit is contained in:
Lee Gladsden 2023-11-03 00:51:58 -04:00 committed by Mike Heier
parent 3499e32dd0
commit f929f888ce

View File

@ -48,9 +48,11 @@ sub AddVideoContent(video as object, mediaSourceId as dynamic, audio_stream_idx
if m.videotype = "Episode" or m.videotype = "Series"
video.content.contenttype = "episode"
video.content.title = "S" + meta.json.ParentIndexNumber.toStr() + "E" + meta.json.IndexNumber.toStr() + " - " + meta.title
else
video.content.title = meta.title
end if
video.content.title = meta.title
video.showID = meta.showID
if playbackPosition = -1 and isValid(meta.json)