update plex 2

fix parser context
This commit is contained in:
StrangeDrVN committed 2026-01-15 17:53:47 +05:30
1 parent 1be21bcf90
commit 85f829b2db
3 files changed
+2220 -13

No files matched your search

+5 -2
View File
@@ -20,10 +20,13 @@ module.exports = {
const items = parseItems(content)
for (let item of items) {
programs.push({
title: item.title,
title: item.grandparentTitle || item.title,
subTitle: (item.grandparentTitle && item.title !== item.grandparentTitle) ? item.title : null,
description: item.summary,
categories: parseCategories(item),
image: item.art,
season: item.parentIndex || null,
episode: item.index || null,
image: item.thumb || item.grandparentThumb || null,
start: parseStart(item),
stop: parseStop(item)
})