From d12304534e29528531fea33b989dcbf2c165d512 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A1lm=C3=A1n=20=E2=80=9EKAMI=E2=80=9D=20Szalai?= Date: Thu, 4 Aug 2022 18:59:12 +0200 Subject: [PATCH 1/5] Add first version of a test workflow --- .github/workflows/test_playlist.yml | 50 +++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 .github/workflows/test_playlist.yml diff --git a/.github/workflows/test_playlist.yml b/.github/workflows/test_playlist.yml new file mode 100644 index 0000000..e638af7 --- /dev/null +++ b/.github/workflows/test_playlist.yml @@ -0,0 +1,50 @@ +name: Test IPTV file quality + +on: + push: + branches + - "*" + +jobs: + test: + runs-on: node + + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Setup Node + uses: actions/setup-node@v1 + with: + node-version: "16.x" + + - name: Install m3u-linter and check the playlist + run: | + npm install -g m3u-linter || true + cat < M3u-linter.config.json + { + "files": ["playlist1.m3u", "playlist2.m3u"], + "rules": { + "no-empty-lines": true, + "require-header": true, + "attribute-quotes": true, + "require-info": true, + "no-trailing-spaces": true, + "no-whitespace-before-title": true, + "no-multi-spaces": true, + "no-extra-comma": true, + "space-before-paren": true, + "no-dash": true + } + } + EOF + ls -lar ./ || true + cat playlist.m3u8 || true + m3u-linter -c ./m3u-linter.config.json ./playlist.m3u8 + + - name: Install IPTV Checker and check the playlist + run: | + npm install -g iptv-checker || true + mkdir -p output + iptv-checker -o output -p 100 -t 120000 ./playlist.m3u8 + From c2223ab62b29ca8bf8c3d0e19c2fc1aee367a248 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A1lm=C3=A1n=20=E2=80=9EKAMI=E2=80=9D=20Szalai?= Date: Thu, 4 Aug 2022 19:05:29 +0200 Subject: [PATCH 2/5] Run from web too --- .github/workflows/test_playlist.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test_playlist.yml b/.github/workflows/test_playlist.yml index e638af7..dfec72b 100644 --- a/.github/workflows/test_playlist.yml +++ b/.github/workflows/test_playlist.yml @@ -1,6 +1,7 @@ name: Test IPTV file quality on: + workflow_dispatch push: branches - "*" From 3f07e1284a14ddcb5ae9cacafe7bd08b0361c1dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A1lm=C3=A1n=20=E2=80=9EKAMI=E2=80=9D=20Szalai?= Date: Thu, 4 Aug 2022 19:16:44 +0200 Subject: [PATCH 3/5] Only use automate branch --- .github/workflows/test_playlist.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test_playlist.yml b/.github/workflows/test_playlist.yml index dfec72b..9762903 100644 --- a/.github/workflows/test_playlist.yml +++ b/.github/workflows/test_playlist.yml @@ -1,10 +1,12 @@ name: Test IPTV file quality on: - workflow_dispatch + workflow_dispatch: + branches: + - automate push: - branches - - "*" + branches: + - automate jobs: test: From 60e49b2cd7fd727018a9de14ba63a8d566374888 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A1lm=C3=A1n=20=E2=80=9EKAMI=E2=80=9D=20Szalai?= Date: Thu, 11 Aug 2022 15:37:03 +0200 Subject: [PATCH 4/5] Update channel list --- canada.md | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/canada.md b/canada.md index 7f4163c..afbc141 100644 --- a/canada.md +++ b/canada.md @@ -21,17 +21,17 @@ | 16 | Star TV | [>](http://live.canadastartv.com:1935/canadastartv/canadastartv/playlist.m3u) | | | 17 | CBC News | [>](https://cbcnewshd-f.akamaihd.net/i/cbcnews_1@8981/index_2500_av-p.m3u8) | | | 18 | CTV News | [>](https://pe-fa-lp02a.9c9media.com/live/News1Digi/p/hls/00000201/38ef78f479b07aa0/index/0c6a10a2/live/stream/h264/v1/3500000/manifest.m3u8) | | -| 19 | Global News | [>](https://live.corusdigitaldev.com/groupd/live/49a91e7f-1023-430f-8d66-561055f3d0f7/live.isml/master.m3u8) | | -| 20 | Global News BC | [>](https://live.corusdigitaldev.com/groupa/live/48a5882b-a1ec-42d7-bfd7-6c2739e737da/live.isml/.m3u8) | | -| 21 | Global News Calgary | [>](https://live.corusdigitaldev.com/groupd/live/8970c668-40cd-4ca9-8c4d-25fd04f619b5/live.isml/master.m3u8) | | -| 22 | Global News Halifax | [>](https://live.corusdigitaldev.com/groupa/live/b60d1d57-2851-4c29-bf5c-36feed988e57/live.isml/.m3u8) | | -| 23 | Global News Kingston | [>](https://live.corusdigitaldev.com/groupa/live/023a9e25-f0cf-4d97-af9f-5c665b7d45b9/live.isml/.m3u8) | | -| 24 | Global News Montreal | [>](https://live.corusdigitaldev.com/groupa/live/6bfb7f13-9d9d-4211-9c50-fb56330e4ccd/live.isml/.m3u8) | | -| 25 | Global News Peterborough | [>](https://live.corusdigitaldev.com/groupa/live/5eb39b64-58e8-47d2-97ca-25e8cd760b63/live.isml/.m3u8) | | -| 26 | Global News Regina | [>](https://live.corusdigitaldev.com/groupb/live/3062d0e3-ed4c-4f47-8482-95648250f4b8/live.isml/.m3u8) | | -| 27 | Global News Saskatoon | [>](https://live.corusdigitaldev.com/groupc/live/f191ef59-6c28-42ba-86d0-d47df5280249/live.isml/.m3u8) | | -| 28 | Global News Vancouver | [>](https://d8i9f8op7jmyk.cloudfront.net/out/v1/89a3f0453e134472a2101f6264d055ae/index.m3u8) | | -| 29 | Global News Winnipeg | [>](https://live.corusdigitaldev.com/groupb/live/564df695-94f9-4f27-b1b9-0a936ab01721/live.isml/.m3u8) | | +| 19 | Global News | [x](https://live.corusdigitaldev.com/groupd/live/49a91e7f-1023-430f-8d66-561055f3d0f7/live.isml/master.m3u8) | | +| 20 | Global News BC | [x](https://live.corusdigitaldev.com/groupa/live/48a5882b-a1ec-42d7-bfd7-6c2739e737da/live.isml/.m3u8) | | +| 21 | Global News Calgary | [x](https://live.corusdigitaldev.com/groupd/live/8970c668-40cd-4ca9-8c4d-25fd04f619b5/live.isml/master.m3u8) | | +| 22 | Global News Halifax | [x](https://live.corusdigitaldev.com/groupa/live/b60d1d57-2851-4c29-bf5c-36feed988e57/live.isml/.m3u8) | | +| 23 | Global News Kingston | [x](https://live.corusdigitaldev.com/groupa/live/023a9e25-f0cf-4d97-af9f-5c665b7d45b9/live.isml/.m3u8) | | +| 24 | Global News Montreal | [x](https://live.corusdigitaldev.com/groupa/live/6bfb7f13-9d9d-4211-9c50-fb56330e4ccd/live.isml/.m3u8) | | +| 25 | Global News Peterborough | [x](https://live.corusdigitaldev.com/groupa/live/5eb39b64-58e8-47d2-97ca-25e8cd760b63/live.isml/.m3u8) | | +| 26 | Global News Regina | [x](https://live.corusdigitaldev.com/groupb/live/3062d0e3-ed4c-4f47-8482-95648250f4b8/live.isml/.m3u8) | | +| 27 | Global News Saskatoon | [x](https://live.corusdigitaldev.com/groupc/live/f191ef59-6c28-42ba-86d0-d47df5280249/live.isml/.m3u8) | | +| 28 | Global News Vancouver | [x](https://d8i9f8op7jmyk.cloudfront.net/out/v1/89a3f0453e134472a2101f6264d055ae/index.m3u8) | | +| 29 | Global News Winnipeg | [x](https://live.corusdigitaldev.com/groupb/live/564df695-94f9-4f27-b1b9-0a936ab01721/live.isml/.m3u8) | | | 30 | CPAC (EN) | [>](https://bcsecurelivehls-i.akamaihd.net/hls/live/680602/1242843915001_1/master.m3u8) | |

French

From 0dd637e56814d376ec9faf97c350723380b4eca4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A1lm=C3=A1n=20=E2=80=9EKAMI=E2=80=9D=20Szalai?= Date: Thu, 11 Aug 2022 15:38:21 +0200 Subject: [PATCH 5/5] Is this legal? Resolve issue #183 --- playlist.m3u8 | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/playlist.m3u8 b/playlist.m3u8 index 520c695..55a5844 100644 --- a/playlist.m3u8 +++ b/playlist.m3u8 @@ -141,28 +141,6 @@ http://live.canadastartv.com:1935/canadastartv/canadastartv/playlist.m3u https://cbcnewshd-f.akamaihd.net/i/cbcnews_1@8981/index_2500_av-p.m3u8 #EXTINF:-1 tvg-name="CTV News" tvg-logo="https://i.imgur.com/T3oBeiX.png" group-title="Canada",CTV News https://pe-fa-lp02a.9c9media.com/live/News1Digi/p/hls/00000201/38ef78f479b07aa0/index/0c6a10a2/live/stream/h264/v1/3500000/manifest.m3u8 -#EXTINF:-1 tvg-name="Global News" tvg-logo="https://i.imgur.com/IpfmG93.png" group-title="Canada",Global News -https://live.corusdigitaldev.com/groupd/live/49a91e7f-1023-430f-8d66-561055f3d0f7/live.isml/master.m3u8 -#EXTINF:-1 tvg-name="Global News BC" tvg-logo="https://i.imgur.com/IpfmG93.png" group-title="Canada",Global News BC -https://live.corusdigitaldev.com/groupa/live/48a5882b-a1ec-42d7-bfd7-6c2739e737da/live.isml/.m3u8 -#EXTINF:-1 tvg-name="Global News Calgary" tvg-logo="https://i.imgur.com/IpfmG93.png" group-title="Canada",Global News Calgary -https://live.corusdigitaldev.com/groupd/live/8970c668-40cd-4ca9-8c4d-25fd04f619b5/live.isml/master.m3u8 -#EXTINF:-1 tvg-name="Global News Halifax" tvg-logo="https://i.imgur.com/IpfmG93.png" group-title="Canada",Global News Halifax -https://live.corusdigitaldev.com/groupa/live/b60d1d57-2851-4c29-bf5c-36feed988e57/live.isml/.m3u8 -#EXTINF:-1 tvg-name="Global News Kingston" tvg-logo="https://i.imgur.com/IpfmG93.png" group-title="Canada",Global News Kingston -https://live.corusdigitaldev.com/groupa/live/023a9e25-f0cf-4d97-af9f-5c665b7d45b9/live.isml/.m3u8 -#EXTINF:-1 tvg-name="Global News Montreal" tvg-logo="https://i.imgur.com/IpfmG93.png" group-title="Canada",Global News Montreal -https://live.corusdigitaldev.com/groupa/live/6bfb7f13-9d9d-4211-9c50-fb56330e4ccd/live.isml/.m3u8 -#EXTINF:-1 tvg-name="Global News Peterborough" tvg-logo="https://i.imgur.com/IpfmG93.png" group-title="Canada",Global News Peterborough -https://live.corusdigitaldev.com/groupa/live/5eb39b64-58e8-47d2-97ca-25e8cd760b63/live.isml/.m3u8 -#EXTINF:-1 tvg-name="Global News Regina" tvg-logo="https://i.imgur.com/IpfmG93.png" group-title="Canada",Global News Regina -https://live.corusdigitaldev.com/groupb/live/3062d0e3-ed4c-4f47-8482-95648250f4b8/live.isml/.m3u8 -#EXTINF:-1 tvg-name="Global News Saskatoon" tvg-logo="https://i.imgur.com/IpfmG93.png" group-title="Canada",Global News Saskatoon -https://live.corusdigitaldev.com/groupc/live/f191ef59-6c28-42ba-86d0-d47df5280249/live.isml/.m3u8 -#EXTINF:-1 tvg-name="Global News Vancouver" tvg-logo="https://i.imgur.com/IpfmG93.png" group-title="Canada",Global News Vancouver -https://d8i9f8op7jmyk.cloudfront.net/out/v1/89a3f0453e134472a2101f6264d055ae/index.m3u8 -#EXTINF:-1 tvg-name="Global News Winnipeg" tvg-logo="https://i.imgur.com/IpfmG93.png" group-title="Canada",Global News Winnipeg -https://live.corusdigitaldev.com/groupb/live/564df695-94f9-4f27-b1b9-0a936ab01721/live.isml/.m3u8 #EXTINF:-1 tvg-name="CPAC (EN)" tvg-logo="https://i.imgur.com/AbdFD0S.png" group-title="Canada",CPAC (EN) https://bcsecurelivehls-i.akamaihd.net/hls/live/680602/1242843915001_1/master.m3u8 #EXTINF:-1 tvg-name="ICI RDI" tvg-logo="https://i.imgur.com/jtyrp30.png" group-title="Canada",ICI RDI