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) {