Fix episode metadata
This commit is contained in:
parent
6da73382a3
commit
2964c36b45
|
@ -125,10 +125,14 @@ function ItemMetaData(id as String)
|
|||
tmp = CreateObject("roSGNode", "SeriesData")
|
||||
tmp.json = data
|
||||
return tmp
|
||||
else if data.type = "Episode"
|
||||
tmp = CreateObject("roSGNode", "TVEpisodeData")
|
||||
tmp.json = data
|
||||
return tmp
|
||||
else if data.type = "BoxSet"
|
||||
tmp = CreateObject("roSGNode", "CollectionData")
|
||||
tmp.json = item
|
||||
results.push(tmp)
|
||||
return tmp
|
||||
else
|
||||
print data.type
|
||||
' Return json if we don't know what it is
|
||||
|
|
Loading…
Reference in New Issue
Block a user