Skip books on TV

This commit is contained in:
Jimi 2022-04-13 06:28:04 -06:00
parent 6492fd3eda
commit 6743526014

View File

@ -76,9 +76,12 @@ sub loadItems()
resp = APIRequest(url, params)
data = getJson(resp)
for each item in data.Items
tmp = CreateObject("roSGNode", "HomeData")
tmp.json = item
results.push(tmp)
' Skip Books for now as we don't support it (issue #558)
if item.Type <> "Book"
tmp = CreateObject("roSGNode", "HomeData")
tmp.json = item
results.push(tmp)
end if
end for
else if m.top.itemsToLoad = "onNow"