Fix for Movie titles

This commit is contained in:
Richard Benson 2021-08-03 15:42:17 -04:00 committed by GitHub
parent f18a68f178
commit b697eec2a4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,8 +23,12 @@ module.exports = {
const icon = item.showPicture const icon = item.showPicture
? `https://cdn.tvpassport.com/image/show/480x720/${item.showPicture}` ? `https://cdn.tvpassport.com/image/show/480x720/${item.showPicture}`
: null : null
let title = item.showName
if (title === "Movie") {
title = item.episodeTitle
}
programs.push({ programs.push({
title: item.showName, title: title,
description: item.description, description: item.description,
category: item.showType, category: item.showType,
start: start.toString(), start: start.toString(),