Merge pull request #601 from jimdogx/feature/558-Remove-Books-from-Continue-Watching

This commit is contained in:
Neil Burrows 2022-05-19 21:41:11 +01:00 committed by GitHub
commit 6b0fe4cb6c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -76,9 +76,12 @@ sub loadItems()
resp = APIRequest(url, params)
data = getJson(resp)
for each item in data.Items
' 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"