mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-12 01:50:07 -04:00
Replaces icon with image
This commit is contained in:
parent
0eaff54a31
commit
bb6771f539
170 changed files with 428 additions and 351 deletions
|
@ -38,7 +38,7 @@ module.exports = {
|
|||
programs.push({
|
||||
title: item.name,
|
||||
description: item.description,
|
||||
icon: parseIcon(item),
|
||||
image: parseImage(item),
|
||||
start,
|
||||
stop
|
||||
})
|
||||
|
@ -48,7 +48,7 @@ module.exports = {
|
|||
}
|
||||
}
|
||||
|
||||
function parseIcon(item) {
|
||||
function parseImage(item) {
|
||||
const last = item.image.pop()
|
||||
if (!last) return null
|
||||
return last.src
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue