added episode season and number to LoadVideoContentTask

This commit is contained in:
lee 2023-12-13 20:58:32 -05:00
parent 70ea5ccee6
commit 1364c8832d

View File

@ -76,13 +76,14 @@ sub LoadItems_AddVideoContent(video as object, mediaSourceId as dynamic, audio_s
end if
videotype = LCase(meta.type)
if videotype = "episode" or 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.chapters = meta.json.Chapters
video.content.title = meta.title
video.showID = meta.showID
user = AboutMe()