added episode season and number to LoadVideoContentTask #2

Merged
lgladsden merged 1 commits from eps-in-header-latest into master 2023-12-14 02:03:28 +00:00

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()