mirror of
https://github.com/iptv-org/epg
synced 2026-04-23 02:57:04 -04:00
Update tests/__data__
This commit is contained in:
1
tests/__data__/input/data/blocklist.json
Normal file
1
tests/__data__/input/data/blocklist.json
Normal file
@@ -0,0 +1 @@
|
||||
[]
|
||||
1
tests/__data__/input/data/categories.json
Normal file
1
tests/__data__/input/data/categories.json
Normal file
@@ -0,0 +1 @@
|
||||
[{"id":"auto","name":"Auto"},{"id":"animation","name":"Animation"},{"id":"business","name":"Business"},{"id":"classic","name":"Classic"},{"id":"comedy","name":"Comedy"},{"id":"cooking","name":"Cooking"},{"id":"culture","name":"Culture"},{"id":"documentary","name":"Documentary"},{"id":"education","name":"Education"},{"id":"entertainment","name":"Entertainment"},{"id":"family","name":"Family"},{"id":"general","name":"General"},{"id":"kids","name":"Kids"},{"id":"legislative","name":"Legislative"},{"id":"lifestyle","name":"Lifestyle"},{"id":"movies","name":"Movies"},{"id":"music","name":"Music"},{"id":"news","name":"News"},{"id":"outdoor","name":"Outdoor"},{"id":"relax","name":"Relax"},{"id":"religious","name":"Religious"},{"id":"series","name":"Series"},{"id":"science","name":"Science"},{"id":"shop","name":"Shop"},{"id":"sports","name":"Sports"},{"id":"travel","name":"Travel"},{"id":"weather","name":"Weather"},{"id":"xxx","name":"XXX"}]
|
||||
138
tests/__data__/input/data/channels.json
Normal file
138
tests/__data__/input/data/channels.json
Normal file
@@ -0,0 +1,138 @@
|
||||
[
|
||||
{
|
||||
"id": "Bravo.us",
|
||||
"name": "Bravo",
|
||||
"network": null,
|
||||
"country": "US",
|
||||
"categories": [],
|
||||
"is_nsfw": false,
|
||||
"closed": "2020-01-01",
|
||||
"replaced_by": "R6.co"
|
||||
},
|
||||
{
|
||||
"id": "Bravos.us",
|
||||
"name": "Bravos",
|
||||
"network": null,
|
||||
"country": "US",
|
||||
"categories": [],
|
||||
"is_nsfw": false
|
||||
},
|
||||
{
|
||||
"id": "CNNInternational.us",
|
||||
"name": "CNN International",
|
||||
"alt_names": [
|
||||
"CNN",
|
||||
"CNN Int"
|
||||
],
|
||||
"network": null,
|
||||
"country": "US",
|
||||
"categories": [
|
||||
"news"
|
||||
],
|
||||
"is_nsfw": false
|
||||
},
|
||||
{
|
||||
"id": "MNetMovies2.za",
|
||||
"name": "M-Net Movies 2",
|
||||
"network": null,
|
||||
"country": "ZA",
|
||||
"categories": [],
|
||||
"is_nsfw": false
|
||||
},
|
||||
{
|
||||
"id": "6eren.dk",
|
||||
"name": "6'eren",
|
||||
"alt_names": [],
|
||||
"network": null,
|
||||
"owners": [
|
||||
"Warner Bros. Discovery EMEA"
|
||||
],
|
||||
"country": "DK",
|
||||
"categories": [],
|
||||
"is_nsfw": false,
|
||||
"launched": "2009-01-01",
|
||||
"closed": null,
|
||||
"replaced_by": null,
|
||||
"website": "http://www.6-eren.dk/"
|
||||
},
|
||||
{
|
||||
"id": "BBCNews.uk",
|
||||
"name": "BBC News",
|
||||
"alt_names": [],
|
||||
"network": null,
|
||||
"owners": [],
|
||||
"country": "UK",
|
||||
"categories": [
|
||||
"news"
|
||||
],
|
||||
"is_nsfw": false,
|
||||
"launched": null,
|
||||
"closed": null,
|
||||
"replaced_by": null,
|
||||
"website": "http://news.bbc.co.uk/"
|
||||
},
|
||||
{
|
||||
"id": "CNN.us",
|
||||
"name": "CNN",
|
||||
"network": null,
|
||||
"country": "US",
|
||||
"categories": [],
|
||||
"is_nsfw": false
|
||||
},
|
||||
{
|
||||
"id": "Channel1.us",
|
||||
"name": "Channel 1",
|
||||
"alt_names": [],
|
||||
"network": null,
|
||||
"owners": [],
|
||||
"country": "US",
|
||||
"categories": [],
|
||||
"is_nsfw": false,
|
||||
"launched": null,
|
||||
"closed": null,
|
||||
"replaced_by": null,
|
||||
"website": ""
|
||||
},
|
||||
{
|
||||
"id": "Channel2.us",
|
||||
"name": "Channel 2",
|
||||
"alt_names": [],
|
||||
"network": null,
|
||||
"owners": [],
|
||||
"country": "UK",
|
||||
"categories": [],
|
||||
"is_nsfw": false,
|
||||
"launched": null,
|
||||
"closed": null,
|
||||
"replaced_by": null,
|
||||
"website": ""
|
||||
},
|
||||
{
|
||||
"id": "Channel3.us",
|
||||
"name": "Channel 3",
|
||||
"alt_names": [],
|
||||
"network": null,
|
||||
"owners": [],
|
||||
"country": "UK",
|
||||
"categories": [],
|
||||
"is_nsfw": false,
|
||||
"launched": null,
|
||||
"closed": null,
|
||||
"replaced_by": null,
|
||||
"website": ""
|
||||
},
|
||||
{
|
||||
"id": "Channel4.us",
|
||||
"name": "Channel 4",
|
||||
"alt_names": [],
|
||||
"network": null,
|
||||
"owners": [],
|
||||
"country": "UK",
|
||||
"categories": [],
|
||||
"is_nsfw": false,
|
||||
"launched": null,
|
||||
"closed": null,
|
||||
"replaced_by": null,
|
||||
"website": ""
|
||||
}
|
||||
]
|
||||
1
tests/__data__/input/data/cities.json
Normal file
1
tests/__data__/input/data/cities.json
Normal file
@@ -0,0 +1 @@
|
||||
[]
|
||||
1
tests/__data__/input/data/countries.json
Normal file
1
tests/__data__/input/data/countries.json
Normal file
File diff suppressed because one or more lines are too long
72
tests/__data__/input/data/feeds.json
Normal file
72
tests/__data__/input/data/feeds.json
Normal file
@@ -0,0 +1,72 @@
|
||||
[
|
||||
{
|
||||
"channel": "CNNInternational.us",
|
||||
"id": "SD",
|
||||
"name": "SD",
|
||||
"is_main": true,
|
||||
"broadcast_area": [
|
||||
"r/INT"
|
||||
],
|
||||
"timezones": [
|
||||
"America/New_York"
|
||||
],
|
||||
"languages": [],
|
||||
"video_format": "480i"
|
||||
},
|
||||
{
|
||||
"channel": "CNNInternational.us",
|
||||
"id": "Europe",
|
||||
"name": "Europe",
|
||||
"is_main": false,
|
||||
"broadcast_area": [
|
||||
"r/EUR"
|
||||
],
|
||||
"timezones": [
|
||||
"America/New_York"
|
||||
],
|
||||
"languages": [],
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"channel": "Channel1.us",
|
||||
"id": "HD",
|
||||
"name": "HD",
|
||||
"is_main": false,
|
||||
"broadcast_area": [
|
||||
"r/EUR"
|
||||
],
|
||||
"timezones": [
|
||||
"America/New_York"
|
||||
],
|
||||
"languages": [],
|
||||
"video_format": "480i"
|
||||
},
|
||||
{
|
||||
"channel": "Channel4.us",
|
||||
"id": "HD",
|
||||
"name": "HD",
|
||||
"is_main": true,
|
||||
"broadcast_area": [
|
||||
"r/EUR"
|
||||
],
|
||||
"timezones": [
|
||||
"America/New_York"
|
||||
],
|
||||
"languages": [],
|
||||
"video_format": "480i"
|
||||
}
|
||||
]
|
||||
10
tests/__data__/input/data/guides.json
Normal file
10
tests/__data__/input/data/guides.json
Normal file
@@ -0,0 +1,10 @@
|
||||
[
|
||||
{
|
||||
"channel": "CNNInternational.us",
|
||||
"feed": "SD",
|
||||
"site": "9tv.co.il",
|
||||
"site_id": "#",
|
||||
"site_name": "CNN (guide)",
|
||||
"lang": "en"
|
||||
}
|
||||
]
|
||||
1
tests/__data__/input/data/languages.json
Normal file
1
tests/__data__/input/data/languages.json
Normal file
File diff suppressed because one or more lines are too long
29
tests/__data__/input/data/logos.json
Normal file
29
tests/__data__/input/data/logos.json
Normal file
@@ -0,0 +1,29 @@
|
||||
[
|
||||
{
|
||||
"channel": "Channel3.us",
|
||||
"feed": null,
|
||||
"tags": [],
|
||||
"width": 334,
|
||||
"height": 210,
|
||||
"format": "PNG",
|
||||
"url": "https://upload.wikimedia.org/wikipedia/commons/6/64/6%27eren_2015.png"
|
||||
},
|
||||
{
|
||||
"channel": "Channel4.us",
|
||||
"feed": "HD",
|
||||
"tags": [],
|
||||
"width": 334,
|
||||
"height": 210,
|
||||
"format": "PNG",
|
||||
"url": "https://i.imgur.com/BPzH88J.png"
|
||||
},
|
||||
{
|
||||
"channel": "Channel1.us",
|
||||
"feed": null,
|
||||
"tags": [],
|
||||
"width": 334,
|
||||
"height": 210,
|
||||
"format": "PNG",
|
||||
"url": "https://i.imgur.com/GPzH88J.png"
|
||||
}
|
||||
]
|
||||
1
tests/__data__/input/data/regions.json
Normal file
1
tests/__data__/input/data/regions.json
Normal file
File diff suppressed because one or more lines are too long
10
tests/__data__/input/data/streams.json
Normal file
10
tests/__data__/input/data/streams.json
Normal file
@@ -0,0 +1,10 @@
|
||||
[
|
||||
{
|
||||
"channel": "CNNInternational.us",
|
||||
"feed": "SD",
|
||||
"url": "https://live.relentlessinnovations.net:1936/imantv/imantv/playlist.m3u8",
|
||||
"referrer": null,
|
||||
"user_agent": null,
|
||||
"quality": "480p"
|
||||
}
|
||||
]
|
||||
352
tests/__data__/input/data/subdivisions.json
Normal file
352
tests/__data__/input/data/subdivisions.json
Normal file
@@ -0,0 +1,352 @@
|
||||
[
|
||||
{
|
||||
"country": "CA",
|
||||
"name": "Alberta",
|
||||
"code": "CA-AB"
|
||||
},
|
||||
{
|
||||
"country": "CA",
|
||||
"name": "British Columbia",
|
||||
"code": "CA-BC"
|
||||
},
|
||||
{
|
||||
"country": "CA",
|
||||
"name": "Manitoba",
|
||||
"code": "CA-MB"
|
||||
},
|
||||
{
|
||||
"country": "CA",
|
||||
"name": "New Brunswick",
|
||||
"code": "CA-NB"
|
||||
},
|
||||
{
|
||||
"country": "CA",
|
||||
"name": "Newfoundland and Labrador",
|
||||
"code": "CA-NL"
|
||||
},
|
||||
{
|
||||
"country": "CA",
|
||||
"name": "Northwest Territories",
|
||||
"code": "CA-NT"
|
||||
},
|
||||
{
|
||||
"country": "CA",
|
||||
"name": "Nova Scotia",
|
||||
"code": "CA-NS"
|
||||
},
|
||||
{
|
||||
"country": "CA",
|
||||
"name": "Nunavut",
|
||||
"code": "CA-NU"
|
||||
},
|
||||
{
|
||||
"country": "CA",
|
||||
"name": "Ontario",
|
||||
"code": "CA-ON"
|
||||
},
|
||||
{
|
||||
"country": "CA",
|
||||
"name": "Prince Edward Island",
|
||||
"code": "CA-PE"
|
||||
},
|
||||
{
|
||||
"country": "CA",
|
||||
"name": "Quebec",
|
||||
"code": "CA-QC"
|
||||
},
|
||||
{
|
||||
"country": "CA",
|
||||
"name": "Saskatchewan",
|
||||
"code": "CA-SK"
|
||||
},
|
||||
{
|
||||
"country": "CA",
|
||||
"name": "Yukon",
|
||||
"code": "CA-YT"
|
||||
},
|
||||
{
|
||||
"country": "US",
|
||||
"name": "Alabama",
|
||||
"code": "US-AL"
|
||||
},
|
||||
{
|
||||
"country": "US",
|
||||
"name": "Alaska",
|
||||
"code": "US-AK"
|
||||
},
|
||||
{
|
||||
"country": "US",
|
||||
"name": "American Samoa",
|
||||
"code": "US-AS"
|
||||
},
|
||||
{
|
||||
"country": "US",
|
||||
"name": "Arizona",
|
||||
"code": "US-AZ"
|
||||
},
|
||||
{
|
||||
"country": "US",
|
||||
"name": "Arkansas",
|
||||
"code": "US-AR"
|
||||
},
|
||||
{
|
||||
"country": "US",
|
||||
"name": "California",
|
||||
"code": "US-CA"
|
||||
},
|
||||
{
|
||||
"country": "US",
|
||||
"name": "Colorado",
|
||||
"code": "US-CO"
|
||||
},
|
||||
{
|
||||
"country": "US",
|
||||
"name": "Connecticut",
|
||||
"code": "US-CT"
|
||||
},
|
||||
{
|
||||
"country": "US",
|
||||
"name": "Delaware",
|
||||
"code": "US-DE"
|
||||
},
|
||||
{
|
||||
"country": "US",
|
||||
"name": "District of Columbia",
|
||||
"code": "US-DC"
|
||||
},
|
||||
{
|
||||
"country": "US",
|
||||
"name": "Florida",
|
||||
"code": "US-FL"
|
||||
},
|
||||
{
|
||||
"country": "US",
|
||||
"name": "Georgia",
|
||||
"code": "US-GA"
|
||||
},
|
||||
{
|
||||
"country": "US",
|
||||
"name": "Guam",
|
||||
"code": "US-GU"
|
||||
},
|
||||
{
|
||||
"country": "US",
|
||||
"name": "Hawaii",
|
||||
"code": "US-HI"
|
||||
},
|
||||
{
|
||||
"country": "US",
|
||||
"name": "Idaho",
|
||||
"code": "US-ID"
|
||||
},
|
||||
{
|
||||
"country": "US",
|
||||
"name": "Illinois",
|
||||
"code": "US-IL"
|
||||
},
|
||||
{
|
||||
"country": "US",
|
||||
"name": "Indiana",
|
||||
"code": "US-IN"
|
||||
},
|
||||
{
|
||||
"country": "US",
|
||||
"name": "Iowa",
|
||||
"code": "US-IA"
|
||||
},
|
||||
{
|
||||
"country": "US",
|
||||
"name": "Kansas",
|
||||
"code": "US-KS"
|
||||
},
|
||||
{
|
||||
"country": "US",
|
||||
"name": "Kentucky",
|
||||
"code": "US-KY"
|
||||
},
|
||||
{
|
||||
"country": "US",
|
||||
"name": "Louisiana",
|
||||
"code": "US-LA"
|
||||
},
|
||||
{
|
||||
"country": "US",
|
||||
"name": "Maine",
|
||||
"code": "US-ME"
|
||||
},
|
||||
{
|
||||
"country": "US",
|
||||
"name": "Maryland",
|
||||
"code": "US-MD"
|
||||
},
|
||||
{
|
||||
"country": "US",
|
||||
"name": "Massachusetts",
|
||||
"code": "US-MA"
|
||||
},
|
||||
{
|
||||
"country": "US",
|
||||
"name": "Michigan",
|
||||
"code": "US-MI"
|
||||
},
|
||||
{
|
||||
"country": "US",
|
||||
"name": "Minnesota",
|
||||
"code": "US-MN"
|
||||
},
|
||||
{
|
||||
"country": "US",
|
||||
"name": "Mississippi",
|
||||
"code": "US-MS"
|
||||
},
|
||||
{
|
||||
"country": "US",
|
||||
"name": "Missouri",
|
||||
"code": "US-MO"
|
||||
},
|
||||
{
|
||||
"country": "US",
|
||||
"name": "Montana",
|
||||
"code": "US-MT"
|
||||
},
|
||||
{
|
||||
"country": "US",
|
||||
"name": "Nebraska",
|
||||
"code": "US-NE"
|
||||
},
|
||||
{
|
||||
"country": "US",
|
||||
"name": "Nevada",
|
||||
"code": "US-NV"
|
||||
},
|
||||
{
|
||||
"country": "US",
|
||||
"name": "New Hampshire",
|
||||
"code": "US-NH"
|
||||
},
|
||||
{
|
||||
"country": "US",
|
||||
"name": "New Jersey",
|
||||
"code": "US-NJ"
|
||||
},
|
||||
{
|
||||
"country": "US",
|
||||
"name": "New Mexico",
|
||||
"code": "US-NM"
|
||||
},
|
||||
{
|
||||
"country": "US",
|
||||
"name": "New York",
|
||||
"code": "US-NY"
|
||||
},
|
||||
{
|
||||
"country": "US",
|
||||
"name": "North Carolina",
|
||||
"code": "US-NC"
|
||||
},
|
||||
{
|
||||
"country": "US",
|
||||
"name": "North Dakota",
|
||||
"code": "US-ND"
|
||||
},
|
||||
{
|
||||
"country": "US",
|
||||
"name": "Northern Mariana Islands",
|
||||
"code": "US-MP"
|
||||
},
|
||||
{
|
||||
"country": "US",
|
||||
"name": "Ohio",
|
||||
"code": "US-OH"
|
||||
},
|
||||
{
|
||||
"country": "US",
|
||||
"name": "Oklahoma",
|
||||
"code": "US-OK"
|
||||
},
|
||||
{
|
||||
"country": "US",
|
||||
"name": "Oregon",
|
||||
"code": "US-OR"
|
||||
},
|
||||
{
|
||||
"country": "US",
|
||||
"name": "Pennsylvania",
|
||||
"code": "US-PA"
|
||||
},
|
||||
{
|
||||
"country": "US",
|
||||
"name": "Puerto Rico",
|
||||
"code": "US-PR"
|
||||
},
|
||||
{
|
||||
"country": "US",
|
||||
"name": "Rhode Island",
|
||||
"code": "US-RI"
|
||||
},
|
||||
{
|
||||
"country": "US",
|
||||
"name": "South Carolina",
|
||||
"code": "US-SC"
|
||||
},
|
||||
{
|
||||
"country": "US",
|
||||
"name": "South Dakota",
|
||||
"code": "US-SD"
|
||||
},
|
||||
{
|
||||
"country": "US",
|
||||
"name": "Tennessee",
|
||||
"code": "US-TN"
|
||||
},
|
||||
{
|
||||
"country": "US",
|
||||
"name": "Texas",
|
||||
"code": "US-TX"
|
||||
},
|
||||
{
|
||||
"country": "US",
|
||||
"name": "U.S. Virgin Islands",
|
||||
"code": "US-VI"
|
||||
},
|
||||
{
|
||||
"country": "US",
|
||||
"name": "United States Minor Outlying Islands",
|
||||
"code": "US-UM"
|
||||
},
|
||||
{
|
||||
"country": "US",
|
||||
"name": "Utah",
|
||||
"code": "US-UT"
|
||||
},
|
||||
{
|
||||
"country": "US",
|
||||
"name": "Vermont",
|
||||
"code": "US-VT"
|
||||
},
|
||||
{
|
||||
"country": "US",
|
||||
"name": "Virginia",
|
||||
"code": "US-VA"
|
||||
},
|
||||
{
|
||||
"country": "US",
|
||||
"name": "Washington",
|
||||
"code": "US-WA"
|
||||
},
|
||||
{
|
||||
"country": "US",
|
||||
"name": "West Virginia",
|
||||
"code": "US-WV"
|
||||
},
|
||||
{
|
||||
"country": "US",
|
||||
"name": "Wisconsin",
|
||||
"code": "US-WI"
|
||||
},
|
||||
{
|
||||
"country": "US",
|
||||
"name": "Wyoming",
|
||||
"code": "US-WY"
|
||||
}
|
||||
]
|
||||
1
tests/__data__/input/data/timezones.json
Normal file
1
tests/__data__/input/data/timezones.json
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user