diff --git a/tests/__data__/expected/epg_grab/base.guide.xml b/tests/__data__/expected/epg_grab/base.guide.xml index a0ed3732f..16b14442b 100644 --- a/tests/__data__/expected/epg_grab/base.guide.xml +++ b/tests/__data__/expected/epg_grab/base.guide.xml @@ -1,8 +1,8 @@ -Channel 1https://example.com -Channel 2https://example.com36 -Channel 1https://example.com -Channel 3https://example.com +Channel 1 +Channel 236 +Channel 1 +Channel 3 Programme1 (example.com) Programme1 (example.com) Program1 (example.com) diff --git a/tests/__data__/expected/epg_grab/custom_channels.guide.xml b/tests/__data__/expected/epg_grab/custom_channels.guide.xml index 94215f489..b097cf402 100644 --- a/tests/__data__/expected/epg_grab/custom_channels.guide.xml +++ b/tests/__data__/expected/epg_grab/custom_channels.guide.xml @@ -1,10 +1,10 @@ -Custom Channel 1https://example.com -Channel 1https://example2.com -Channel 4https://example2.com -Channel 3https://example2.com -Channel 1https://example.com -Custom Channel 2https://example.com +Custom Channel 1 +Channel 1 +Channel 4 +Channel 3 +Channel 1 +Custom Channel 2 Program1 (example.com) Program1 (example.com) Programme1 (example2.com) diff --git a/tests/__data__/expected/epg_grab/gzip/guide.xml b/tests/__data__/expected/epg_grab/gzip/guide.xml index 67968c1bd..bba9e9a18 100644 --- a/tests/__data__/expected/epg_grab/gzip/guide.xml +++ b/tests/__data__/expected/epg_grab/gzip/guide.xml @@ -1,7 +1,7 @@ -Channel 3https://example2.com -Channel 4https://example2.com -Channel 1https://example2.com +Channel 3 +Channel 4 +Channel 1 Programme1 (example2.com) Program1 (example2.com) Program1 (example2.com) diff --git a/tests/__data__/expected/epg_grab/gzip/guide.xml.gz b/tests/__data__/expected/epg_grab/gzip/guide.xml.gz index ccce7906c..3f0eaf110 100644 Binary files a/tests/__data__/expected/epg_grab/gzip/guide.xml.gz and b/tests/__data__/expected/epg_grab/gzip/guide.xml.gz differ diff --git a/tests/__data__/expected/epg_grab/json/guide.json b/tests/__data__/expected/epg_grab/json/guide.json index 3f632b054..83d442b77 100644 --- a/tests/__data__/expected/epg_grab/json/guide.json +++ b/tests/__data__/expected/epg_grab/json/guide.json @@ -1 +1 @@ -{"channels":[{"xmltv_id":"Channel3.us","name":"Channel 3","site":"example2.com","site_id":"150","lang":"en","logo":"https://upload.wikimedia.org/wikipedia/commons/6/64/6%27eren_2015.png","url":"https://example2.com","lcn":null,"index":0},{"xmltv_id":"Channel4.us@HD","name":"Channel 4","site":"example2.com","site_id":"152","lang":"en","logo":"https://i.imgur.com/BPzH88J.png","url":"https://example2.com","lcn":null,"index":1},{"xmltv_id":"Channel1.us","name":"Channel 1","site":"example2.com","site_id":"140","lang":"fr","logo":"https://i.imgur.com/GPzH88J.png","url":"https://example2.com","lcn":null,"index":2}],"programs":[{"site":"example2.com","start":1666240800000,"stop":1666249800000,"channel":"Channel1.us","titles":[{"value":"Programme1 (example2.com)","lang":"fr"}],"subTitles":[],"descriptions":[],"date":0,"categories":[],"keywords":[],"languages":[],"origLanguages":[],"length":[],"urls":[],"countries":[],"episodeNumbers":[],"video":{"present":"","colour":"","aspect":"","quality":""},"audio":{"present":"","stereo":""},"previouslyShown":[],"premiere":[],"lastChance":[],"new":false,"subtitles":[],"ratings":[],"starRatings":[],"reviews":[],"directors":[],"actors":[],"writers":[],"adapters":[],"producers":[],"composers":[],"editors":[],"presenters":[],"commentators":[],"guests":[],"images":[],"icons":[]},{"site":"example2.com","start":1666240260000,"stop":1666249800000,"channel":"Channel3.us","titles":[{"value":"Program1 (example2.com)","lang":"en"}],"subTitles":[],"descriptions":[],"date":0,"categories":[],"keywords":[],"languages":[],"origLanguages":[],"length":[],"urls":[],"countries":[],"episodeNumbers":[],"video":{"present":"","colour":"","aspect":"","quality":""},"audio":{"present":"","stereo":""},"previouslyShown":[],"premiere":[],"lastChance":[],"new":false,"subtitles":[],"ratings":[],"starRatings":[],"reviews":[],"directors":[],"actors":[],"writers":[],"adapters":[],"producers":[],"composers":[],"editors":[],"presenters":[],"commentators":[],"guests":[],"images":[],"icons":[]},{"site":"example2.com","start":1666240260000,"stop":1666249800000,"channel":"Channel4.us@HD","titles":[{"value":"Program1 (example2.com)","lang":"en"}],"subTitles":[],"descriptions":[],"date":0,"categories":[],"keywords":[],"languages":[],"origLanguages":[],"length":[],"urls":[],"countries":[],"episodeNumbers":[],"video":{"present":"","colour":"","aspect":"","quality":""},"audio":{"present":"","stereo":""},"previouslyShown":[],"premiere":[],"lastChance":[],"new":false,"subtitles":[],"ratings":[],"starRatings":[],"reviews":[],"directors":[],"actors":[],"writers":[],"adapters":[],"producers":[],"composers":[],"editors":[],"presenters":[],"commentators":[],"guests":[],"images":[],"icons":[]}]} \ No newline at end of file +{"date":"20221020","channels":[{"xmltv_id":"Channel3.us","name":"Channel 3","site":"example2.com","site_id":"150","lang":"en","logo":"https://upload.wikimedia.org/wikipedia/commons/6/64/6%27eren_2015.png","url":null,"lcn":null,"index":0},{"xmltv_id":"Channel4.us@HD","name":"Channel 4","site":"example2.com","site_id":"152","lang":"en","logo":"https://i.imgur.com/BPzH88J.png","url":null,"lcn":null,"index":1},{"xmltv_id":"Channel1.us","name":"Channel 1","site":"example2.com","site_id":"140","lang":"fr","logo":"https://i.imgur.com/GPzH88J.png","url":null,"lcn":null,"index":2}],"programs":[{"site":"example2.com","start":1666240800000,"stop":1666249800000,"channel":"Channel1.us","titles":[{"value":"Programme1 (example2.com)","lang":"fr"}],"subTitles":[],"descriptions":[],"date":0,"categories":[],"keywords":[],"languages":[],"origLanguages":[],"length":[],"urls":[],"countries":[],"episodeNumbers":[],"video":{"present":"","colour":"","aspect":"","quality":""},"audio":{"present":"","stereo":""},"previouslyShown":[],"premiere":[],"lastChance":[],"new":false,"subtitles":[],"ratings":[],"starRatings":[],"reviews":[],"directors":[],"actors":[],"writers":[],"adapters":[],"producers":[],"composers":[],"editors":[],"presenters":[],"commentators":[],"guests":[],"images":[],"icons":[]},{"site":"example2.com","start":1666240260000,"stop":1666249800000,"channel":"Channel3.us","titles":[{"value":"Program1 (example2.com)","lang":"en"}],"subTitles":[],"descriptions":[],"date":0,"categories":[],"keywords":[],"languages":[],"origLanguages":[],"length":[],"urls":[],"countries":[],"episodeNumbers":[],"video":{"present":"","colour":"","aspect":"","quality":""},"audio":{"present":"","stereo":""},"previouslyShown":[],"premiere":[],"lastChance":[],"new":false,"subtitles":[],"ratings":[],"starRatings":[],"reviews":[],"directors":[],"actors":[],"writers":[],"adapters":[],"producers":[],"composers":[],"editors":[],"presenters":[],"commentators":[],"guests":[],"images":[],"icons":[]},{"site":"example2.com","start":1666240260000,"stop":1666249800000,"channel":"Channel4.us@HD","titles":[{"value":"Program1 (example2.com)","lang":"en"}],"subTitles":[],"descriptions":[],"date":0,"categories":[],"keywords":[],"languages":[],"origLanguages":[],"length":[],"urls":[],"countries":[],"episodeNumbers":[],"video":{"present":"","colour":"","aspect":"","quality":""},"audio":{"present":"","stereo":""},"previouslyShown":[],"premiere":[],"lastChance":[],"new":false,"subtitles":[],"ratings":[],"starRatings":[],"reviews":[],"directors":[],"actors":[],"writers":[],"adapters":[],"producers":[],"composers":[],"editors":[],"presenters":[],"commentators":[],"guests":[],"images":[],"icons":[]}]} \ No newline at end of file diff --git a/tests/__data__/expected/epg_grab/json/guide.xml b/tests/__data__/expected/epg_grab/json/guide.xml index 67968c1bd..bba9e9a18 100644 --- a/tests/__data__/expected/epg_grab/json/guide.xml +++ b/tests/__data__/expected/epg_grab/json/guide.xml @@ -1,7 +1,7 @@ -Channel 3https://example2.com -Channel 4https://example2.com -Channel 1https://example2.com +Channel 3 +Channel 4 +Channel 1 Programme1 (example2.com) Program1 (example2.com) Program1 (example2.com) diff --git a/tests/__data__/expected/epg_grab/lang/fr/guide.xml b/tests/__data__/expected/epg_grab/lang/fr/guide.xml index dde894e5f..15f36ee2f 100644 --- a/tests/__data__/expected/epg_grab/lang/fr/guide.xml +++ b/tests/__data__/expected/epg_grab/lang/fr/guide.xml @@ -1,5 +1,5 @@ -Channel 1https://example.com +Channel 1 Programme1 (example.com) Programme1 (example.com) \ No newline at end of file diff --git a/tests/__data__/expected/epg_grab/multilang.guide.xml b/tests/__data__/expected/epg_grab/multilang.guide.xml index 40e5b5aa6..bd0209bd5 100644 --- a/tests/__data__/expected/epg_grab/multilang.guide.xml +++ b/tests/__data__/expected/epg_grab/multilang.guide.xml @@ -1,6 +1,6 @@ -Channel 1https://example.com -Channel 3https://example.com +Channel 1 +Channel 3 Programme1 (example.com) Programme1 (example.com) Program1 (example.com) diff --git a/tests/__data__/expected/epg_grab/multiple_channels.guide.xml b/tests/__data__/expected/epg_grab/multiple_channels.guide.xml index 1a2ececa4..b2b76d31a 100644 --- a/tests/__data__/expected/epg_grab/multiple_channels.guide.xml +++ b/tests/__data__/expected/epg_grab/multiple_channels.guide.xml @@ -1,11 +1,11 @@ -Channel 1https://example.com -Channel 1https://example2.com -Channel 4https://example2.com -Channel 3https://example2.com -Channel 3https://example.com -Channel 1https://example.com -Channel 2https://example.com36 +Channel 1 +Channel 1 +Channel 4 +Channel 3 +Channel 3 +Channel 1 +Channel 236 Program1 (example.com) Program1 (example.com) Programme1 (example2.com) diff --git a/tests/__data__/expected/epg_grab/wildcard/example.com/en/guide.xml b/tests/__data__/expected/epg_grab/wildcard/example.com/en/guide.xml index 6426626a0..ed1cb2d20 100644 --- a/tests/__data__/expected/epg_grab/wildcard/example.com/en/guide.xml +++ b/tests/__data__/expected/epg_grab/wildcard/example.com/en/guide.xml @@ -1,6 +1,6 @@ -Channel 1https://example.com -Channel 2https://example.com36 +Channel 1 +Channel 236 Program1 (example.com) Program1 (example.com) \ No newline at end of file diff --git a/tests/__data__/expected/epg_grab/wildcard/example.com/fr/guide.xml b/tests/__data__/expected/epg_grab/wildcard/example.com/fr/guide.xml index dde894e5f..15f36ee2f 100644 --- a/tests/__data__/expected/epg_grab/wildcard/example.com/fr/guide.xml +++ b/tests/__data__/expected/epg_grab/wildcard/example.com/fr/guide.xml @@ -1,5 +1,5 @@ -Channel 1https://example.com +Channel 1 Programme1 (example.com) Programme1 (example.com) \ No newline at end of file diff --git a/tests/__data__/expected/epg_grab/wildcard/example.com/it/guide.xml b/tests/__data__/expected/epg_grab/wildcard/example.com/it/guide.xml index 9d839e5e3..37cfd2ed3 100644 --- a/tests/__data__/expected/epg_grab/wildcard/example.com/it/guide.xml +++ b/tests/__data__/expected/epg_grab/wildcard/example.com/it/guide.xml @@ -1,5 +1,5 @@ -Channel 3https://example.com +Channel 3 Program1 (example.com) Program1 (example.com) \ No newline at end of file