add season data

This commit is contained in:
Ismaël Moret 2024-12-19 15:34:43 +01:00 committed by GitHub
parent ee36284d54
commit 865b7beca7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -17,9 +17,11 @@ module.exports = {
const stop = parseStop(item, start) const stop = parseStop(item, start)
programs.push({ programs.push({
title: item.title, title: item.title,
subTitle: item?.season?.serie?.title, subTitle: item.season?.serie?.title,
category: item.genreDetailed, category: item.genreDetailed,
description: item.synopsis, description: item.synopsis,
season: item.season?.number,
episode: item.season?.episodeNumber,
image: parseImage(item), image: parseImage(item),
start: start.toJSON(), start: start.toJSON(),
stop: stop.toJSON() stop: stop.toJSON()