update plex 2

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

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