This commit is contained in:
Mike Heier 2023-12-23 10:45:25 -05:00
parent 516d75a4e9
commit 359d3394d3
2 changed files with 3 additions and 3 deletions

View File

@ -78,7 +78,7 @@ sub LoadItems_AddVideoContent(video as object, mediaSourceId as dynamic, audio_s
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
video.content.title = "S" + meta.json.ParentIndexNumber.toStr() + "E" + meta.json.IndexNumber.toStr() + " - " + meta.title + + " (" + meta.json.ProductionYear.ToStr() + ")"
else
video.content.title = meta.title + " (" + meta.json.ProductionYear.ToStr() + ")"
end if

View File

@ -48,9 +48,9 @@ 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
video.content.title = "S" + meta.json.ParentIndexNumber.toStr() + "E" + meta.json.IndexNumber.toStr() + " - " + meta.title + + " (" + meta.json.ProductionYear.ToStr() + ")"
else
video.content.title = meta.title
video.content.title = meta.title + " (" + meta.json.ProductionYear.ToStr() + ")"
end if
video.showID = meta.showID