mirror of
https://github.com/iptv-org/epg
synced 2026-04-27 13:06:58 -04:00
update plex 2
fix parser context
This commit is contained in:
@@ -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)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user