Skip to content

Commit 85939cd

Browse files
Merge pull request #2402 from iptv-org/patch-2024.06.1
Patch 2024.06.1
2 parents cd084ed + 1a703ce commit 85939cd

File tree

173 files changed

+480
-403
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

173 files changed

+480
-403
lines changed

package-lock.json

Lines changed: 33 additions & 33 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
"csv-parser": "^3.0.0",
5151
"cwait": "^1.1.2",
5252
"dayjs": "^1.11.10",
53-
"epg-grabber": "^0.36.1",
53+
"epg-grabber": "^0.37.1",
5454
"epg-parser": "^0.2.0",
5555
"eslint": "^8.17.0",
5656
"eslint-config-prettier": "^9.0.0",

sites/9tv.co.il/9tv.co.il.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ module.exports = {
2727
const stop = start.add(1, 'h')
2828
programs.push({
2929
title: parseTitle($item),
30-
icon: parseIcon($item),
30+
image: parseImage($item),
3131
description: parseDescription($item),
3232
start,
3333
stop
@@ -44,7 +44,7 @@ function parseStart($item, date) {
4444
return dayjs.tz(`${date.format('YYYY-MM-DD')} ${time}`, 'YYYY-MM-DD HH:mm', 'Asia/Jerusalem')
4545
}
4646

47-
function parseIcon($item) {
47+
function parseImage($item) {
4848
const backgroundImage = $item('a > div.guide_info_group > div.guide_info_pict').css(
4949
'background-image'
5050
)

sites/9tv.co.il/9tv.co.il.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,14 @@ it('can parse response', () => {
3131
start: '2022-03-06T04:30:00.000Z',
3232
stop: '2022-03-06T07:10:00.000Z',
3333
title: 'Слепая',
34-
icon: 'https://www.9tv.co.il/download/pictures/img_id=8484.jpg',
34+
image: 'https://www.9tv.co.il/download/pictures/img_id=8484.jpg',
3535
description:
3636
'Она не очень любит говорить о себе или о том, кто и зачем к ней обращается. Живет уединенно, в глуши. Но тех, кто приходит -принимает. Она видит судьбы.'
3737
},
3838
{
3939
start: '2022-03-06T07:10:00.000Z',
4040
stop: '2022-03-06T08:10:00.000Z',
41-
icon: 'https://www.9tv.co.il/download/pictures/img_id=23694.jpg',
41+
image: 'https://www.9tv.co.il/download/pictures/img_id=23694.jpg',
4242
title: 'Орел и решка. Морской сезон',
4343
description: 'Орел и решка. Морской сезон. Ведущие -Алина Астровская и Коля Серга.'
4444
}

sites/abc.net.au/abc.net.au.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ module.exports = {
3333
season: parseSeason(item),
3434
episode: parseEpisode(item),
3535
rating: parseRating(item),
36-
icon: parseIcon(item),
36+
image: parseImage(item),
3737
start: parseTime(item.start_time),
3838
stop: parseTime(item.end_time)
3939
})
@@ -106,7 +106,7 @@ function parseEpisode(item) {
106106
function parseTime(time) {
107107
return dayjs.tz(time, 'YYYY-MM-DD HH:mm', 'Australia/Sydney')
108108
}
109-
function parseIcon(item) {
109+
function parseImage(item) {
110110
return item.image_file
111111
? `https://www.abc.net.au/tv/common/images/publicity/${item.image_file}`
112112
: null

sites/abc.net.au/abc.net.au.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ it('can parse response', () => {
3535
},
3636
season: 22,
3737
episode: 4,
38-
icon: 'https://www.abc.net.au/tv/common/images/publicity/ZW2178A004S00_460.jpg',
38+
image: 'https://www.abc.net.au/tv/common/images/publicity/ZW2178A004S00_460.jpg',
3939
start: '2022-12-21T13:46:00.000Z',
4040
stop: '2022-12-21T14:44:00.000Z'
4141
}

sites/allente.dk/allente.dk.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module.exports = {
2222
title: item.title,
2323
category: item.details.categories,
2424
description: item.details.description,
25-
icon: item.details.image,
25+
image: item.details.image,
2626
season: parseSeason(item),
2727
episode: parseEpisode(item),
2828
start,

sites/allente.dk/allente.dk.test.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ it('can parse response', () => {
3232
category: ['other'],
3333
description:
3434
'Svenskt träningsprogram från 2021. Styrka. Sofia Åhman leder SVT:s hemmagympapass. Denna gång fokuserar vi på styrka.',
35-
icon: 'https://viasatps.api.comspace.se/PS/channeldate/image/viasat.ps/21/2022-08-22/se.cs.svt1.event.A_41214031600.jpg?size=2560x1440',
35+
image:
36+
'https://viasatps.api.comspace.se/PS/channeldate/image/viasat.ps/21/2022-08-22/se.cs.svt1.event.A_41214031600.jpg?size=2560x1440',
3637
season: 4,
3738
episode: 1
3839
}

sites/allente.fi/allente.fi.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module.exports = {
2222
title: item.title,
2323
category: item.details.categories,
2424
description: item.details.description,
25-
icon: item.details.image,
25+
image: item.details.image,
2626
season: parseSeason(item),
2727
episode: parseEpisode(item),
2828
start,

sites/allente.fi/allente.fi.test.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ it('can parse response', () => {
3232
category: ['other'],
3333
description:
3434
'Svenskt träningsprogram från 2021. Styrka. Sofia Åhman leder SVT:s hemmagympapass. Denna gång fokuserar vi på styrka.',
35-
icon: 'https://viasatps.api.comspace.se/PS/channeldate/image/viasat.ps/21/2022-08-22/se.cs.svt1.event.A_41214031600.jpg?size=2560x1440',
35+
image:
36+
'https://viasatps.api.comspace.se/PS/channeldate/image/viasat.ps/21/2022-08-22/se.cs.svt1.event.A_41214031600.jpg?size=2560x1440',
3637
season: 4,
3738
episode: 1
3839
}

0 commit comments

Comments
 (0)