Merge pull request #34 from rkben/rkben-patch-1

Fix for tvtv.us movie titles
This commit is contained in:
Aleksandr Statciuk
2021-08-04 05:17:02 +03:00
committed by GitHub

View File

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