mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-10 00:50:09 -04:00
Update tvtv.us.config.js
This commit is contained in:
parent
f72ac1b9ba
commit
bc606fea8c
1 changed files with 0 additions and 8 deletions
|
@ -20,7 +20,6 @@ module.exports = {
|
||||||
title: parseTitle(item),
|
title: parseTitle(item),
|
||||||
sub_title: parseSubtitle(item),
|
sub_title: parseSubtitle(item),
|
||||||
description: parseDescription(item),
|
description: parseDescription(item),
|
||||||
ratings: parseRating(item),
|
|
||||||
category: parseCategory(item),
|
category: parseCategory(item),
|
||||||
season: parseSeason(item),
|
season: parseSeason(item),
|
||||||
episode: parseEpisode(item),
|
episode: parseEpisode(item),
|
||||||
|
@ -123,13 +122,6 @@ function parseEpisode(item) {
|
||||||
return item.program.episodeNum || null
|
return item.program.episodeNum || null
|
||||||
}
|
}
|
||||||
|
|
||||||
function parseRating(item) {
|
|
||||||
return {
|
|
||||||
system: item.program.ratings.body,
|
|
||||||
value: item.program.ratings.code
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
function parseIcon(item) {
|
function parseIcon(item) {
|
||||||
return item.program.preferredImage && item.program.preferredImage.uri
|
return item.program.preferredImage && item.program.preferredImage.uri
|
||||||
? `https://tvtv.us/gn/i/${item.program.preferredImage.uri}`
|
? `https://tvtv.us/gn/i/${item.program.preferredImage.uri}`
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue