Add unplayed count to collections
This commit is contained in:
parent
f42222c4a3
commit
d3975f1ed0
|
@ -111,6 +111,10 @@ function ItemList(library_id = invalid as string, params = {})
|
|||
tmp.json = item
|
||||
results.push(tmp)
|
||||
else if item.type = "BoxSet"
|
||||
if item.UserData.UnplayedItemCount > 0 then
|
||||
param = { "UnplayedCount" : item.UserData.UnplayedItemCount }
|
||||
imgParams.Append(param)
|
||||
end if
|
||||
tmp = CreateObject("roSGNode", "CollectionData")
|
||||
tmp.image = PosterImage(item.id, imgParams)
|
||||
tmp.json = item
|
||||
|
|
Loading…
Reference in New Issue
Block a user