Fix episode metadata

This commit is contained in:
Nick Bisby 2019-04-21 15:11:54 -05:00
parent 6da73382a3
commit 2964c36b45
No known key found for this signature in database
GPG Key ID: F6E0C4E6D0B5EB36

View File

@ -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