From 970d046515fcbc19be89754f66ebae5e145ab267 Mon Sep 17 00:00:00 2001 From: freearhey <7253922+freearhey@users.noreply.github.com> Date: Mon, 4 May 2026 14:24:11 +0300 Subject: [PATCH] Update tests/__data__ --- tests/__data__/expected/epg_grab/base.guide.xml | 8 ++++---- .../expected/epg_grab/custom_channels.guide.xml | 12 ++++++------ tests/__data__/expected/epg_grab/gzip/guide.xml | 6 +++--- .../expected/epg_grab/gzip/guide.xml.gz | Bin 342 -> 331 bytes .../__data__/expected/epg_grab/json/guide.json | 2 +- tests/__data__/expected/epg_grab/json/guide.xml | 6 +++--- .../expected/epg_grab/lang/fr/guide.xml | 2 +- .../expected/epg_grab/multilang.guide.xml | 4 ++-- .../epg_grab/multiple_channels.guide.xml | 14 +++++++------- .../epg_grab/wildcard/example.com/en/guide.xml | 4 ++-- .../epg_grab/wildcard/example.com/fr/guide.xml | 2 +- .../epg_grab/wildcard/example.com/it/guide.xml | 2 +- 12 files changed, 31 insertions(+), 31 deletions(-) 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 ccce7906cb2b71c94a87333c643da178db852260..3f0eaf110a33d4d1e518dc300572f46da5896e8c 100644 GIT binary patch literal 331 zcmV-R0kr-fiwFP!000001I5xyO9L?w0N}gee+U6Vk>;_xwneh3sA%!jgPtYq#%*x( zAW3WW*So80Ta{WL2QML$37L<~u+c)-U@m=7*5r^P0)aGzEtRQqcyoQx8$vMREY3kG zqRe4Jl7y0kK)$=fim5P0)Ps;~wGU*vEa zqYK9v&s=Rqi5}Fw(y~+nSzqBca&3eQtF<)&_i;bN{k>!$y)?H8p-0G>3S!Q1XWGEa z8s5qHe3LNSE>uYAYUWWx!Kag_@o;$c&D!*fuc1FHe7U)>^S1IrYY9RWKCU`OvWyS{ z4x6QEa){Qg002_ao4Wu2 literal 342 zcmV-c0jd5UiwFP!000001I3a{O9L?!h4+I0Ap`_PI!UHuTO^Z;iWXO0=vu-|oCfnE z$<*qvcSieCsl_U|3As7Rz26Ck4rf|{sqjHslS7hV2!ttYDNU8byW6YI0D>W-aSBQv zMGjM(rUa)Lvi&_;Ot>*Z0a@no;(gyu>HrxnWpIi=cMR8p%_Y#K=)*acg*71fB8QV0 zT{uOkcFOWHd6JJ(i&FB$`U=PP>9y8X??P$&AWZ}6=hTcDBi~I!9zA)Od{ZL9qNdp ox2p};5@riom+VH?{YoaxlI;JuRw4Zz8j4f)3W2ki9smRY09$IGsQ>@~ 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