From f628a8035a44986219c3f8e9860e229fcf4b044d Mon Sep 17 00:00:00 2001 From: David Claeys Date: Sun, 1 Dec 2024 16:24:55 +0100 Subject: [PATCH] improvement provider --- sites/orangetv.es/orangetv.es.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sites/orangetv.es/orangetv.es.config.js b/sites/orangetv.es/orangetv.es.config.js index 3efc2795..c4f296d7 100644 --- a/sites/orangetv.es/orangetv.es.config.js +++ b/sites/orangetv.es/orangetv.es.config.js @@ -65,7 +65,7 @@ function parseIcon(item){ } function parseItems(content, channel) { - const json = typeof content === 'string' ? JSON.parse(content) : content + const json = typeof content === 'string' ? JSON.parse(content) : [] const channelData = json.find(i => i.channelExternalId == channel.site_id);