Label actor episodes with Series Name, and season & episode numbers
Fixes #1649
This commit is contained in:
parent
3b888d40a0
commit
3811f298d3
|
@ -183,9 +183,15 @@ function buildRow(rowTitle as string, items, imgWdth = 0)
|
|||
row = CreateObject("roSGNode", "ContentNode")
|
||||
row.Title = tr(rowTitle)
|
||||
for each mov in items
|
||||
mov.Id = mov.json.Id
|
||||
if LCase(mov.json.type) = "episode"
|
||||
mov.labelText = mov.json.SeriesName
|
||||
mov.subTitle = `S${mov.json.ParentIndexNumber}:E${mov.json.IndexNumber} - ${mov.json.Name}`
|
||||
else
|
||||
mov.labelText = mov.json.Name
|
||||
mov.subTitle = mov.json.ProductionYear
|
||||
end if
|
||||
|
||||
mov.Id = mov.json.Id
|
||||
mov.Type = mov.json.Type
|
||||
if imgWdth > 0
|
||||
mov.imageWidth = imgWdth
|
||||
|
|
Loading…
Reference in New Issue
Block a user