Use boxset

This commit is contained in:
Nick Bisby 2019-04-14 19:24:03 -05:00
parent 5fd5c9eec2
commit 1a6b621868
No known key found for this signature in database
GPG Key ID: F6E0C4E6D0B5EB36

View File

@ -60,7 +60,7 @@ function ItemList(library_id=invalid as String, params={})
tmp = CreateObject("roSGNode", "SeriesData")
tmp.json = item
results.push(tmp)
else if item.type = "Cllection"
else if item.type = "BoxSet"
tmp = CreateObject("roSGNode", "CollectionData")
tmp.json = item
results.push(tmp)
@ -88,7 +88,7 @@ function ItemMetaData(id as String)
tmp = CreateObject("roSGNode", "SeriesData")
tmp.json = data
return tmp
else if item.type = "Cllection"
else if data.type = "BoxSet"
tmp = CreateObject("roSGNode", "CollectionData")
tmp.json = item
results.push(tmp)