mirror of
https://github.com/iptv-org/epg
synced 2026-09-15 13:36:25 -04:00
Update tests/__data__
This commit is contained in:
@@ -1,14 +1,14 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" ?><tv date="20221020">
|
<?xml version="1.0" encoding="UTF-8" ?><tv date="20221020">
|
||||||
|
<channel id="Channel2.us"><display-name>Channel 2</display-name><icon src="https://i.imgur.com/qmRnD0M.png"/><url>https://example.com</url><lcn>36</lcn></channel>
|
||||||
<channel id="Channel1.us"><display-name>Channel 1</display-name><url>https://example.com</url></channel>
|
<channel id="Channel1.us"><display-name>Channel 1</display-name><url>https://example.com</url></channel>
|
||||||
<channel id="Channel1.us"><display-name>Channel 1</display-name><url>https://example2.com</url></channel>
|
|
||||||
<channel id="Channel2.us"><display-name>Channel 2</display-name><icon src="https://i.imgur.com/qmRnD0M.png"/><url>https://example.com</url></channel>
|
|
||||||
<channel id="Channel3.us"><display-name>Channel 3</display-name><icon src="https://upload.wikimedia.org/wikipedia/commons/6/64/6%27eren_2015.png"/><url>https://example2.com</url></channel>
|
<channel id="Channel3.us"><display-name>Channel 3</display-name><icon src="https://upload.wikimedia.org/wikipedia/commons/6/64/6%27eren_2015.png"/><url>https://example2.com</url></channel>
|
||||||
<channel id="Channel4.us"><display-name>Channel 4</display-name><url>https://example2.com</url></channel>
|
<channel id="Channel4.us"><display-name>Channel 4</display-name><url>https://example2.com</url></channel>
|
||||||
<programme start="20221019043000 +0000" stop="20221019071000 +0000" channel="Channel1.us"><title lang="en">Program1 (example.com)</title></programme>
|
<channel id="Channel1.us"><display-name>Channel 1</display-name><url>https://example2.com</url></channel>
|
||||||
<programme start="20221019043000 +0000" stop="20221019071000 +0000" channel="Channel1.us"><title lang="fr">Programme1 (example.com)</title></programme>
|
<programme start="20221019043000 +0000" stop="20221019071000 +0000" channel="Channel1.us"><title lang="fr">Programme1 (example.com)</title></programme>
|
||||||
|
<programme start="20221019043100 +0000" stop="20221019071000 +0000" channel="Channel1.us"><title lang="en">Program1 (example.com)</title></programme>
|
||||||
<programme start="20221019044000 +0000" stop="20221019071000 +0000" channel="Channel1.us"><title lang="fr">Programme1 (example2.com)</title></programme>
|
<programme start="20221019044000 +0000" stop="20221019071000 +0000" channel="Channel1.us"><title lang="fr">Programme1 (example2.com)</title></programme>
|
||||||
<programme start="20221020043000 +0000" stop="20221020071000 +0000" channel="Channel1.us"><title lang="en">Program1 (example.com)</title></programme>
|
|
||||||
<programme start="20221020043000 +0000" stop="20221020071000 +0000" channel="Channel1.us"><title lang="fr">Programme1 (example.com)</title></programme>
|
<programme start="20221020043000 +0000" stop="20221020071000 +0000" channel="Channel1.us"><title lang="fr">Programme1 (example.com)</title></programme>
|
||||||
<programme start="20221019043000 +0000" stop="20221019071000 +0000" channel="Channel3.us"><title lang="en">Program1 (example2.com)</title></programme>
|
<programme start="20221020043100 +0000" stop="20221020071000 +0000" channel="Channel1.us"><title lang="en">Program1 (example.com)</title></programme>
|
||||||
<programme start="20221019043000 +0000" stop="20221019071000 +0000" channel="Channel4.us"><title lang="en">Program1 (example2.com)</title></programme>
|
<programme start="20221019043100 +0000" stop="20221019071000 +0000" channel="Channel3.us"><title lang="en">Program1 (example2.com)</title></programme>
|
||||||
|
<programme start="20221019043100 +0000" stop="20221019071000 +0000" channel="Channel4.us"><title lang="en">Program1 (example2.com)</title></programme>
|
||||||
</tv>
|
</tv>
|
||||||
Binary file not shown.
@@ -1,8 +1,8 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" ?><tv date="20221020">
|
<?xml version="1.0" encoding="UTF-8" ?><tv date="20221020">
|
||||||
|
<channel id="Channel2.us"><display-name>Channel 2</display-name><icon src="https://i.imgur.com/qmRnD0M.png"/><url>https://example.com</url><lcn>36</lcn></channel>
|
||||||
<channel id="Channel1.us"><display-name>Channel 1</display-name><url>https://example.com</url></channel>
|
<channel id="Channel1.us"><display-name>Channel 1</display-name><url>https://example.com</url></channel>
|
||||||
<channel id="Channel2.us"><display-name>Channel 2</display-name><icon src="https://i.imgur.com/qmRnD0M.png"/><url>https://example.com</url></channel>
|
|
||||||
<programme start="20221019043000 +0000" stop="20221019071000 +0000" channel="Channel1.us"><title lang="en">Program1 (example.com)</title></programme>
|
|
||||||
<programme start="20221019043000 +0000" stop="20221019071000 +0000" channel="Channel1.us"><title lang="fr">Programme1 (example.com)</title></programme>
|
<programme start="20221019043000 +0000" stop="20221019071000 +0000" channel="Channel1.us"><title lang="fr">Programme1 (example.com)</title></programme>
|
||||||
<programme start="20221020043000 +0000" stop="20221020071000 +0000" channel="Channel1.us"><title lang="en">Program1 (example.com)</title></programme>
|
<programme start="20221019043100 +0000" stop="20221019071000 +0000" channel="Channel1.us"><title lang="en">Program1 (example.com)</title></programme>
|
||||||
<programme start="20221020043000 +0000" stop="20221020071000 +0000" channel="Channel1.us"><title lang="fr">Programme1 (example.com)</title></programme>
|
<programme start="20221020043000 +0000" stop="20221020071000 +0000" channel="Channel1.us"><title lang="fr">Programme1 (example.com)</title></programme>
|
||||||
|
<programme start="20221020043100 +0000" stop="20221020071000 +0000" channel="Channel1.us"><title lang="en">Program1 (example.com)</title></programme>
|
||||||
</tv>
|
</tv>
|
||||||
@@ -1,14 +1,14 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" ?><tv date="20221020">
|
<?xml version="1.0" encoding="UTF-8" ?><tv date="20221020">
|
||||||
<channel id="Channel1.us"><display-name>Custom Channel 1</display-name><url>https://example.com</url></channel>
|
<channel id="Channel1.us"><display-name>Custom Channel 1</display-name><url>https://example.com</url></channel>
|
||||||
<channel id="Channel1.us"><display-name>Channel 1</display-name><url>https://example2.com</url></channel>
|
|
||||||
<channel id="Channel2.us"><display-name>Custom Channel 2</display-name><icon src="https://i.imgur.com/qmRnD0M.png"/><url>https://example.com</url></channel>
|
<channel id="Channel2.us"><display-name>Custom Channel 2</display-name><icon src="https://i.imgur.com/qmRnD0M.png"/><url>https://example.com</url></channel>
|
||||||
<channel id="Channel3.us"><display-name>Channel 3</display-name><icon src="https://upload.wikimedia.org/wikipedia/commons/6/64/6%27eren_2015.png"/><url>https://example2.com</url></channel>
|
<channel id="Channel3.us"><display-name>Channel 3</display-name><icon src="https://upload.wikimedia.org/wikipedia/commons/6/64/6%27eren_2015.png"/><url>https://example2.com</url></channel>
|
||||||
<channel id="Channel4.us"><display-name>Channel 4</display-name><url>https://example2.com</url></channel>
|
<channel id="Channel4.us"><display-name>Channel 4</display-name><url>https://example2.com</url></channel>
|
||||||
<programme start="20221019043000 +0000" stop="20221019071000 +0000" channel="Channel1.us"><title lang="en">Program1 (example.com)</title></programme>
|
<channel id="Channel1.us"><display-name>Channel 1</display-name><url>https://example2.com</url></channel>
|
||||||
<programme start="20221019043000 +0000" stop="20221019071000 +0000" channel="Channel1.us"><title lang="fr">Programme1 (example.com)</title></programme>
|
<programme start="20221019043000 +0000" stop="20221019071000 +0000" channel="Channel1.us"><title lang="fr">Programme1 (example.com)</title></programme>
|
||||||
|
<programme start="20221019043100 +0000" stop="20221019071000 +0000" channel="Channel1.us"><title lang="en">Program1 (example.com)</title></programme>
|
||||||
<programme start="20221019044000 +0000" stop="20221019071000 +0000" channel="Channel1.us"><title lang="fr">Programme1 (example2.com)</title></programme>
|
<programme start="20221019044000 +0000" stop="20221019071000 +0000" channel="Channel1.us"><title lang="fr">Programme1 (example2.com)</title></programme>
|
||||||
<programme start="20221020043000 +0000" stop="20221020071000 +0000" channel="Channel1.us"><title lang="en">Program1 (example.com)</title></programme>
|
|
||||||
<programme start="20221020043000 +0000" stop="20221020071000 +0000" channel="Channel1.us"><title lang="fr">Programme1 (example.com)</title></programme>
|
<programme start="20221020043000 +0000" stop="20221020071000 +0000" channel="Channel1.us"><title lang="fr">Programme1 (example.com)</title></programme>
|
||||||
<programme start="20221019043000 +0000" stop="20221019071000 +0000" channel="Channel3.us"><title lang="en">Program1 (example2.com)</title></programme>
|
<programme start="20221020043100 +0000" stop="20221020071000 +0000" channel="Channel1.us"><title lang="en">Program1 (example.com)</title></programme>
|
||||||
<programme start="20221019043000 +0000" stop="20221019071000 +0000" channel="Channel4.us"><title lang="en">Program1 (example2.com)</title></programme>
|
<programme start="20221019043100 +0000" stop="20221019071000 +0000" channel="Channel3.us"><title lang="en">Program1 (example2.com)</title></programme>
|
||||||
|
<programme start="20221019043100 +0000" stop="20221019071000 +0000" channel="Channel4.us"><title lang="en">Program1 (example2.com)</title></programme>
|
||||||
</tv>
|
</tv>
|
||||||
@@ -3,6 +3,6 @@
|
|||||||
<channel id="Channel3.us"><display-name>Channel 3</display-name><icon src="https://upload.wikimedia.org/wikipedia/commons/6/64/6%27eren_2015.png"/><url>https://example.com</url></channel>
|
<channel id="Channel3.us"><display-name>Channel 3</display-name><icon src="https://upload.wikimedia.org/wikipedia/commons/6/64/6%27eren_2015.png"/><url>https://example.com</url></channel>
|
||||||
<programme start="20221019043000 +0000" stop="20221019071000 +0000" channel="Channel1.us"><title lang="fr">Programme1 (example.com)</title></programme>
|
<programme start="20221019043000 +0000" stop="20221019071000 +0000" channel="Channel1.us"><title lang="fr">Programme1 (example.com)</title></programme>
|
||||||
<programme start="20221020043000 +0000" stop="20221020071000 +0000" channel="Channel1.us"><title lang="fr">Programme1 (example.com)</title></programme>
|
<programme start="20221020043000 +0000" stop="20221020071000 +0000" channel="Channel1.us"><title lang="fr">Programme1 (example.com)</title></programme>
|
||||||
<programme start="20221019043000 +0000" stop="20221019071000 +0000" channel="Channel3.us"><title lang="it">Program1 (example.com)</title></programme>
|
<programme start="20221019043100 +0000" stop="20221019071000 +0000" channel="Channel3.us"><title lang="it">Program1 (example.com)</title></programme>
|
||||||
<programme start="20221020043000 +0000" stop="20221020071000 +0000" channel="Channel3.us"><title lang="it">Program1 (example.com)</title></programme>
|
<programme start="20221020043100 +0000" stop="20221020071000 +0000" channel="Channel3.us"><title lang="it">Program1 (example.com)</title></programme>
|
||||||
</tv>
|
</tv>
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" ?><tv date="20221020">
|
<?xml version="1.0" encoding="UTF-8" ?><tv date="20221020">
|
||||||
|
<channel id="Channel2.us"><display-name>Channel 2</display-name><icon src="https://i.imgur.com/qmRnD0M.png"/><url>https://example.com</url><lcn>36</lcn></channel>
|
||||||
<channel id="Channel1.us"><display-name>Channel 1</display-name><url>https://example.com</url></channel>
|
<channel id="Channel1.us"><display-name>Channel 1</display-name><url>https://example.com</url></channel>
|
||||||
<channel id="Channel2.us"><display-name>Channel 2</display-name><icon src="https://i.imgur.com/qmRnD0M.png"/><url>https://example.com</url></channel>
|
<programme start="20221019043100 +0000" stop="20221019071000 +0000" channel="Channel1.us"><title lang="en">Program1 (example.com)</title></programme>
|
||||||
<programme start="20221019043000 +0000" stop="20221019071000 +0000" channel="Channel1.us"><title lang="en">Program1 (example.com)</title></programme>
|
<programme start="20221020043100 +0000" stop="20221020071000 +0000" channel="Channel1.us"><title lang="en">Program1 (example.com)</title></programme>
|
||||||
<programme start="20221020043000 +0000" stop="20221020071000 +0000" channel="Channel1.us"><title lang="en">Program1 (example.com)</title></programme>
|
|
||||||
</tv>
|
</tv>
|
||||||
@@ -26,5 +26,19 @@
|
|||||||
],
|
],
|
||||||
"languages": [],
|
"languages": [],
|
||||||
"video_format": "480i"
|
"video_format": "480i"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"channel": "Bravo.us",
|
||||||
|
"id": "East",
|
||||||
|
"name": "East",
|
||||||
|
"is_main": true,
|
||||||
|
"broadcast_area": [
|
||||||
|
"r/EUR"
|
||||||
|
],
|
||||||
|
"timezones": [
|
||||||
|
"America/New_York"
|
||||||
|
],
|
||||||
|
"languages": [],
|
||||||
|
"video_format": "480i"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<channels>
|
<channels>
|
||||||
<channel site="example.com" lang="en" xmltv_id="Bravo.us@East" site_id="140#Tes't">Bravo's</channel>
|
<channel site="example.com" lang="en" xmltv_id="Bravo.us@East" site_id="140#Tes't" lcn="36">Bravo's</channel>
|
||||||
</channels>
|
</channels>
|
||||||
+2
-2
@@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<channels site="example.com">
|
<channels site="example.com">
|
||||||
<channel lang="en" xmltv_id="CNNInternational" site_id="140">CNN International</channel>
|
<channel lang="en" xmltv_id="CNNInternational" site_id="140">CNN International</channel>
|
||||||
<channel lang="en" xmltv_id="Bravo.us@East" site_id="150">Bravo</channel>
|
<channel lang="en" xmltv_id="Bravo.us" site_id="150">Bravo</channel>
|
||||||
<channel lang="en" xmltv_id="Bravo.us@West" site_id="151">Bravo</channel>
|
<channel lang="en" xmltv_id="Bravo.us" site_id="151">Bravo</channel>
|
||||||
</channels>
|
</channels>
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<channels site="example.com">
|
||||||
|
<channel lang="en" xmltv_id="Bravo.us@West" site_id="150">Bravo</channel>
|
||||||
|
</channels>
|
||||||
@@ -20,7 +20,7 @@ module.exports = {
|
|||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
title: 'Program1 (example.com)',
|
title: 'Program1 (example.com)',
|
||||||
start: `${date.format('YYYY-MM-DD')}T04:30:00.000Z`,
|
start: `${date.format('YYYY-MM-DD')}T04:31:00.000Z`,
|
||||||
stop: `${date.format('YYYY-MM-DD')}T07:10:00.000Z`
|
stop: `${date.format('YYYY-MM-DD')}T07:10:00.000Z`
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<channels site="example.com">
|
<channels site="example.com">
|
||||||
|
<channel lang="en" xmltv_id="Channel2.us" site_id="142" logo="https://i.imgur.com/qmRnD0M.png" lcn="36">Channel 2</channel>
|
||||||
<channel lang="en" xmltv_id="Channel1.us" site_id="140">Channel 1</channel>
|
<channel lang="en" xmltv_id="Channel1.us" site_id="140">Channel 1</channel>
|
||||||
<channel lang="en" xmltv_id="Channel2.us" site_id="142" logo="https://i.imgur.com/qmRnD0M.png">Channel 2</channel>
|
|
||||||
<channel lang="fr" xmltv_id="Channel1.us" site_id="140">Channel 1</channel>
|
<channel lang="fr" xmltv_id="Channel1.us" site_id="140">Channel 1</channel>
|
||||||
</channels>
|
</channels>
|
||||||
@@ -20,7 +20,7 @@ module.exports = {
|
|||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
title: 'Program1 (example.com)',
|
title: 'Program1 (example.com)',
|
||||||
start: `${date.format('YYYY-MM-DD')}T04:30:00.000Z`,
|
start: `${date.format('YYYY-MM-DD')}T04:31:00.000Z`,
|
||||||
stop: `${date.format('YYYY-MM-DD')}T07:10:00.000Z`
|
stop: `${date.format('YYYY-MM-DD')}T07:10:00.000Z`
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ module.exports = {
|
|||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
title: 'Program1 (example2.com)',
|
title: 'Program1 (example2.com)',
|
||||||
start: `${date.format('YYYY-MM-DD')}T04:30:00.000Z`,
|
start: `${date.format('YYYY-MM-DD')}T04:31:00.000Z`,
|
||||||
stop: `${date.format('YYYY-MM-DD')}T07:10:00.000Z`
|
stop: `${date.format('YYYY-MM-DD')}T07:10:00.000Z`
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user