add xmltv_id + fix title/subTitle

This commit is contained in:
StrangeDrVN
2026-04-19 14:50:46 +05:30
committed by GitHub
parent 3caabfba43
commit 8ca2f37f26
3 changed files with 210 additions and 210 deletions

View File

@@ -46,8 +46,8 @@ module.exports = {
return programs.map(item => {
return {
title: item.title,
subTitle: item.serie_title,
title: item.serie_title || item.title,
subTitle: (item.serie_title && item.title && item.serie_title !== item.title) ? item.title : null,
description: item.description,
category: item.genres,
image: item.pictures?.map(img => img.url),