Merge pull request #601 from jimdogx/feature/558-Remove-Books-from-Continue-Watching
This commit is contained in:
commit
6b0fe4cb6c
|
@ -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
|
||||||
|
' Skip Books for now as we don't support it (issue #558)
|
||||||
|
if item.Type <> "Book"
|
||||||
tmp = CreateObject("roSGNode", "HomeData")
|
tmp = CreateObject("roSGNode", "HomeData")
|
||||||
tmp.json = item
|
tmp.json = item
|
||||||
results.push(tmp)
|
results.push(tmp)
|
||||||
|
end if
|
||||||
end for
|
end for
|
||||||
|
|
||||||
else if m.top.itemsToLoad = "onNow"
|
else if m.top.itemsToLoad = "onNow"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user