Fix for Movie titles
This commit is contained in:
@@ -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(),
|
||||||
|
|||||||
Reference in New Issue
Block a user