mirror of
https://github.com/iptv-org/epg
synced 2026-09-10 22:06:56 -04:00
Replaces icon with image
This commit is contained in:
@@ -23,7 +23,7 @@ module.exports = {
|
||||
programs.push({
|
||||
title: item.show.title,
|
||||
description: item.show.body,
|
||||
icon: parseIcon(item),
|
||||
image: parseImage(item),
|
||||
start: parseStart(item, date),
|
||||
stop: parseStop(item, date)
|
||||
})
|
||||
@@ -33,7 +33,7 @@ module.exports = {
|
||||
}
|
||||
}
|
||||
|
||||
function parseIcon(item) {
|
||||
function parseImage(item) {
|
||||
return item.show.image ? item.show.image.href : null
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user