Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.


The
playlist:testscript with the--fixoption enabled will now skip streams marked as "Geo-blocked" or "Not 24/7" to avoid removing potentially working links (#30011).For example, this command:
npm run playlist:test streams/hr.m3u --- --fix streams/hr.m3u ┌─────┬───────────────────────────┬──────────────────────────────────────────────────────────────────────────────────────────────────────┬─────────────────┬──────────────────────────────┐ │ │ tvg-id │ url │ label │ status │ ├─────┼───────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────┼─────────────────┼──────────────────────────────┤ │ 0 │ BravoKidsTV.hr@SD │ https://streaming.social3.hr/play/r3CK_tdsFIFL3bN7w4NW1plrwsCToUBsRFjhxM68sZY/m3u8 │ │ OK │ │ 1 │ BravoTV.hr@SD │ https://streaming.social3.hr/bravoTVkdjd7djd/XAbSERW5p3/2.m3u8 │ │ OK │ │ 2 │ CMCTV.hr@SD │ https://stream.cmctv.hr:49998/cmc/live.m3u8 │ │ OK │ │ 3 │ DiadoraTV.hr@SD │ https://diadoratv.stream/live/diadora/playlist.m3u8 │ │ OK │ │ 4 │ ExtraTV.hr@SD │ https://streaming.social3.hr/ExtraTVudzdhr5/uUankWqpXD/1.m3u8 │ │ OK │ │ 5 │ HRT1.hr@SD │ https://webtvstream.bhtelecom.ba/hrt1.m3u8 │ │ OK │ │ 6 │ HRT1.hr@HD │ https://bpcdnmanprod.nexttv.ht.hr/bpk-tv/HRT1/default/index.mpd │ │ HTTP_404_NOT_FOUND │ │ 7 │ HRT2.hr@SD │ https://webtvstream.bhtelecom.ba/hrt2.m3u8 │ │ OK │ │ 8 │ HRT2.hr@HD │ https://bpcdnmanprod.nexttv.ht.hr/bpk-tv/HRT2/default/index.mpd │ │ HTTP_404_NOT_FOUND │ │ 9 │ HRT3.hr@SD │ https://webtvstream.bhtelecom.ba/hrt3.m3u8 │ │ OK │ │ 10 │ HRT3.hr@HD │ https://bpcdnmanprod.nexttv.ht.hr/bpk-tv/HRT3/default/index.mpd │ │ HTTP_404_NOT_FOUND │ │ 11 │ HRT4.hr@HD │ https://bpcdnmanprod.nexttv.ht.hr/bpk-tv/HRT4/default/index.mpd │ │ HTTP_404_NOT_FOUND │ │ 12 │ KlapeiTambureTV.hr@SD │ https://stream.cmctv.hr:49998/kit/live.m3u8 │ │ OK │ │ 13 │ Klasik.hr@SD │ https://178.253.194.105/klasiktv/playlist.m3u8 │ Not 24/7 │ ERR_TLS_CERT_ALTNAME_INVALID │ │ 14 │ LibertasTV.hr@SD │ https://stream.luci.xyz/hls/LTV.m3u8 │ │ OK │ │ 15 │ OTV.hr@SD │ https://stream.agatin.hr:3559/live/otvlive.m3u8 │ Not 24/7 │ ECONNREFUSED │ │ 16 │ RadioTelevizijaBanovin... │ https://pool.alter-media.hr:1936/live/myStream/playlist.m3u8?DVR= │ Not 24/7 │ OK │ │ 17 │ SBTV.hr@SD │ https://live.leveex.hr/hls/live.m3u8 │ Not 24/7 │ OK │ │ 18 │ STV.hr@SD │ http://89.201.163.244:8080/hls/hdmi.m3u8 │ │ OK │ │ 19 │ TrendTV.hr@SD │ http://185.62.75.22:1935/trend/myStream/playlist.m3u8 │ │ TIMEOUT │ │ 20 │ TVJadran.hr@SD │ https://tvjadran.stream.agatin.hr:3412/live/tvjadranlive.m3u8 │ Not 24/7 │ OK │ │ 21 │ TVNova.hr@SD │ https://stream.agatin.hr:3727/live/tvnovalive.m3u8 │ │ OK │ │ 22 │ TVZapad.hr@SD │ http://85.94.67.158/TVZAPAD/index.fmp4.m3u8 │ Not 24/7 │ HTTP_404_NOT_FOUND │ └─────┴───────────────────────────┴──────────────────────────────────────────────────────────────────────────────────────────────────────┴─────────────────┴──────────────────────────────┘ 8 problems (4 errors, 4 warnings)will result in the removal of only these 4 links:
Test results: