From ef17af6b066ef880402fcea9c65290ea0a7d6700 Mon Sep 17 00:00:00 2001 From: Aleksandr Statciuk Date: Wed, 16 Nov 2022 13:21:49 +0300 Subject: [PATCH] Update plex.tv.config.js --- sites/plex.tv/plex.tv.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sites/plex.tv/plex.tv.config.js b/sites/plex.tv/plex.tv.config.js index 63f6f5ad..d13e20f1 100644 --- a/sites/plex.tv/plex.tv.config.js +++ b/sites/plex.tv/plex.tv.config.js @@ -47,7 +47,7 @@ module.exports = { } function parseCategories(item) { - return item.Genre.map(g => g.tag) + return Array.isArray(item.Genre) ? item.Genre.map(g => g.tag) : [] } function parseStart(item) {