mirror of
https://github.com/iptv-org/epg
synced 2025-12-16 10:26:41 -05:00
Replaces icon with image
This commit is contained in:
@@ -33,7 +33,7 @@ module.exports = {
|
||||
title: parseTitle($item),
|
||||
description: parseDescription($item),
|
||||
sub_title: parseSubTitle($item),
|
||||
icon: parseIcon($item),
|
||||
image: parseImage($item),
|
||||
start,
|
||||
stop
|
||||
})
|
||||
@@ -55,7 +55,7 @@ function parseSubTitle($item) {
|
||||
return $item('.info').data('subtitle')
|
||||
}
|
||||
|
||||
function parseIcon($item) {
|
||||
function parseImage($item) {
|
||||
return $item('.info').data('image')
|
||||
}
|
||||
|
||||
|
||||
@@ -36,7 +36,7 @@ it('can parse response', () => {
|
||||
sub_title: '',
|
||||
description:
|
||||
'A detective sergeant and expert in the field of serial killers working for the Missing Persons Bureau tries to protect the general public from evil.',
|
||||
icon: 'https://bcboltvirgin.akamaized.net/player/shows/1498_517x291_1528141264.jpg'
|
||||
image: 'https://bcboltvirgin.akamaized.net/player/shows/1498_517x291_1528141264.jpg'
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user