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 = CreateObject("roSGNode", "SeriesData")
|
||||||
tmp.json = data
|
tmp.json = data
|
||||||
return tmp
|
return tmp
|
||||||
|
else if data.type = "Episode"
|
||||||
|
tmp = CreateObject("roSGNode", "TVEpisodeData")
|
||||||
|
tmp.json = data
|
||||||
|
return tmp
|
||||||
else if data.type = "BoxSet"
|
else if data.type = "BoxSet"
|
||||||
tmp = CreateObject("roSGNode", "CollectionData")
|
tmp = CreateObject("roSGNode", "CollectionData")
|
||||||
tmp.json = item
|
tmp.json = item
|
||||||
results.push(tmp)
|
return tmp
|
||||||
else
|
else
|
||||||
print data.type
|
print data.type
|
||||||
' Return json if we don't know what it is
|
' Return json if we don't know what it is
|
||||||
|
|
Loading…
Reference in New Issue
Block a user