From 6743526014205e3a6644b0ed0b75f80f5dca351f Mon Sep 17 00:00:00 2001 From: Jimi Date: Wed, 13 Apr 2022 06:28:04 -0600 Subject: [PATCH] Skip books on TV --- components/home/LoadItemsTask.brs | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/components/home/LoadItemsTask.brs b/components/home/LoadItemsTask.brs index dce689f6..9ac7c369 100644 --- a/components/home/LoadItemsTask.brs +++ b/components/home/LoadItemsTask.brs @@ -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"