mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-10 00:50:09 -04:00
Replaces icon with image
This commit is contained in:
parent
0eaff54a31
commit
bb6771f539
170 changed files with 428 additions and 351 deletions
|
@ -16,7 +16,7 @@ module.exports = {
|
|||
title: item.program.title,
|
||||
description: item.program.longDescription,
|
||||
category: item.program.subType,
|
||||
icon: parseIcon(item),
|
||||
image: parseImage(item),
|
||||
start: parseStart(item),
|
||||
stop: parseStop(item)
|
||||
})
|
||||
|
@ -26,7 +26,7 @@ module.exports = {
|
|||
}
|
||||
}
|
||||
|
||||
function parseIcon(item) {
|
||||
function parseImage(item) {
|
||||
const uri = item.program.preferredImage.uri
|
||||
|
||||
return uri ? `https://adma.tmsimg.com/assets/${uri}` : null
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue