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