Replaces icon with image

This commit is contained in:
freearhey 2024-06-24 16:49:35 +03:00
parent 0eaff54a31
commit bb6771f539
170 changed files with 428 additions and 351 deletions

View file

@ -30,7 +30,7 @@ module.exports = {
stop: dayjs(item.bedt),
season: item.sn,
episode: item.en,
icon: item.pu ? `http://sky.de${item.pu}` : null
image: item.pu ? `http://sky.de${item.pu}` : null
})
})

View file

@ -43,7 +43,7 @@ it('can parse response', () => {
stop: '2022-02-26T23:30:00.000Z',
season: '4',
episode: '11',
icon: 'http://sky.de/static/img/program_guide/1522936_s.jpg'
image: 'http://sky.de/static/img/program_guide/1522936_s.jpg'
},
{
title: 'King of Queens',
@ -53,7 +53,7 @@ it('can parse response', () => {
stop: '2022-02-26T23:55:00.000Z',
season: '4',
episode: '12',
icon: 'http://sky.de/static/img/program_guide/1522937_s.jpg'
image: 'http://sky.de/static/img/program_guide/1522937_s.jpg'
}
])
})