Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

different issues while iterating the kodinerds m3u iptv playlist #3

Open
hasifantasy opened this issue Dec 26, 2024 · 3 comments
Open

Comments

@hasifantasy
Copy link

Hello,

if the python script iterates over the kodinerds iptv list ( http://bit.ly/kn-kodi ) i get these errors:

~/IPTVChecker# python IPTV_checker.py -g Vollprogramm kn-kodi -vv

2024-12-26 12:58:27,103 - INFO - Loading channels from kn-kodi with group 'Vollprogramm'...
2024-12-26 12:58:27,104 - INFO - Total channels matching group 'Vollprogramm': 5

2024-12-26 12:58:27,128 - DEBUG - Starting new HTTPS connection (1): daserste-live.ard-mcdn.de:443
2024-12-26 12:58:27,337 - DEBUG - https://daserste-live.ard-mcdn.de:443 "GET /daserste/live/hls/de/master.m3u8 HTTP/1.1" 200 None
2024-12-26 12:58:27,341 - DEBUG - Content-Type: application/vnd.apple.mpegurl
2024-12-26 12:58:27,354 - DEBUG - Data received: 1747 bytes
2024-12-26 12:58:27,367 - DEBUG - Starting new HTTPS connection (1): daserste-live.ard-mcdn.de:443
2024-12-26 12:58:27,533 - DEBUG - https://daserste-live.ard-mcdn.de:443 "GET /daserste/live/hls/de/master.m3u8 HTTP/1.1" 200 None
2024-12-26 12:58:27,537 - DEBUG - Content-Type: application/vnd.apple.mpegurl
2024-12-26 12:58:27,549 - DEBUG - Data received: 3494 bytes
2024-12-26 12:58:27,560 - DEBUG - Starting new HTTPS connection (1): daserste-live.ard-mcdn.de:443
2024-12-26 12:58:27,727 - DEBUG - https://daserste-live.ard-mcdn.de:443 "GET /daserste/live/hls/de/master.m3u8 HTTP/1.1" 200 None
2024-12-26 12:58:27,731 - DEBUG - Content-Type: application/vnd.apple.mpegurl
2024-12-26 12:58:27,744 - DEBUG - Data received: 5241 bytes
2024-12-26 12:58:27,756 - DEBUG - Starting new HTTPS connection (1): daserste-live.ard-mcdn.de:443
2024-12-26 12:58:27,918 - DEBUG - https://daserste-live.ard-mcdn.de:443 "GET /daserste/live/hls/de/master.m3u8 HTTP/1.1" 200 None
2024-12-26 12:58:27,923 - DEBUG - Content-Type: application/vnd.apple.mpegurl
2024-12-26 12:58:27,936 - DEBUG - Data received: 6988 bytes
2024-12-26 12:58:27,947 - DEBUG - Starting new HTTPS connection (1): daserste-live.ard-mcdn.de:443
2024-12-26 12:58:28,616 - DEBUG - https://daserste-live.ard-mcdn.de:443 "GET /daserste/live/hls/de/master.m3u8 HTTP/1.1" 200 535
2024-12-26 12:58:28,622 - DEBUG - Content-Type: application/vnd.apple.mpegurl
2024-12-26 12:58:28,640 - DEBUG - Data received: 8735 bytes
2024-12-26 12:58:28,650 - DEBUG - Starting new HTTPS connection (1): daserste-live.ard-mcdn.de:443
2024-12-26 12:58:28,830 - DEBUG - https://daserste-live.ard-mcdn.de:443 "GET /daserste/live/hls/de/master.m3u8 HTTP/1.1" 200 535
2024-12-26 12:58:28,835 - DEBUG - Content-Type: application/vnd.apple.mpegurl
2024-12-26 12:58:28,854 - DEBUG - Data received: 10482 bytes
2024-12-26 12:58:28,856 - ERROR - Maximum retries exceeded for checking channel status
1/5 ✕ Das Erste HD |
2024-12-26 12:58:28,858 - INFO - 1/5 ✕ Das Erste HD |
2024-12-26 12:58:28,867 - DEBUG - Starting new HTTPS connection (1): zdf-hls-15.akamaized.net:443
2024-12-26 12:58:29,000 - DEBUG - https://zdf-hls-15.akamaized.net:443 "GET /hls/live/2016498/de/veryhigh/master.m3u8 HTTP/1.1" 200 510
2024-12-26 12:58:29,004 - DEBUG - Content-Type: application/x-mpegURL
2024-12-26 12:58:29,006 - DEBUG - Content-Type not recognized as stream: application/x-mpegURL
2/5 ✕ ZDF HD |
2024-12-26 12:58:29,018 - INFO - 2/5 ✕ ZDF HD |
2024-12-26 12:58:29,030 - DEBUG - Starting new HTTPS connection (1): zdf-hls-18.akamaized.net:443
2024-12-26 12:58:29,183 - DEBUG - https://zdf-hls-18.akamaized.net:443 "GET /hls/live/2016501/dach/veryhigh/master.m3u8 HTTP/1.1" 200 515
2024-12-26 12:58:29,187 - DEBUG - Content-Type: application/x-mpegURL
2024-12-26 12:58:29,188 - DEBUG - Content-Type not recognized as stream: application/x-mpegURL
3/5 ✕ 3sat |
2024-12-26 12:58:29,199 - INFO - 3/5 ✕ 3sat |
2024-12-26 12:58:29,212 - DEBUG - Starting new HTTPS connection (1): artesimulcast.akamaized.net:443
2024-12-26 12:58:29,354 - DEBUG - https://artesimulcast.akamaized.net:443 "GET /hls/live/2030993/artelive_de/master.m3u8 HTTP/1.1" 200 268
2024-12-26 12:58:29,358 - DEBUG - Content-Type: application/x-mpegURL
2024-12-26 12:58:29,358 - DEBUG - Content-Type not recognized as stream: application/x-mpegURL
4/5 ✕ ARTE HD |
2024-12-26 12:58:29,370 - INFO - 4/5 ✕ ARTE HD |
2024-12-26 12:58:29,387 - DEBUG - Starting new HTTPS connection (1): artesimulcast.akamaized.net:443
2024-12-26 12:58:29,569 - DEBUG - https://artesimulcast.akamaized.net:443 "GET /hls/live/2031003/artelive_fr/master.m3u8 HTTP/1.1" 200 268
2024-12-26 12:58:29,574 - DEBUG - Content-Type: application/x-mpegURL
2024-12-26 12:58:29,575 - DEBUG - Content-Type not recognized as stream: application/x-mpegURL
5/5 ✕ ARTE HD (FR) |
2024-12-26 12:58:29,589 - INFO - 5/5 ✕ ARTE HD (FR) |

regards
Stefan

@hasifantasy hasifantasy changed the title different issues while iteratin the kodinerds m3u iptv playlist different issues while iterating the kodinerds m3u iptv playlist Dec 26, 2024
@NewsGuyTor
Copy link
Owner

It should be fixed now, I added x-mpegURL support, please try again :)

@hasifantasy
Copy link
Author

thank you, and a happy new year,

the content-type issue is fixed, but the IPTVChecker seems to have still issues in detecting streams ("maximum retries exceeded"):

for example the "ARTE HD" Stream inside the kodinerds iptv stream list:

IPTVChecker is giving up detecting a stream after reaching the maximum retries:
4/5 ✕ ARTE HD |
2025-01-05 12:48:10,964 - INFO - 4/5 ✕ ARTE HD |
2025-01-05 12:48:10,978 - DEBUG - Starting new HTTPS connection (1): artesimulcast.akamaized.net:443
2025-01-05 12:48:11,152 - DEBUG - https://artesimulcast.akamaized.net:443 "GET /hls/live/2031003/artelive_fr/master.m3u8 HTTP/1.1" 200 268
2025-01-05 12:48:11,157 - DEBUG - Content-Type: application/x-mpegURL
2025-01-05 12:48:11,176 - DEBUG - Data received: 822 bytes
2025-01-05 12:48:11,187 - DEBUG - Starting new HTTPS connection (1): artesimulcast.akamaized.net:443
2025-01-05 12:48:11,334 - DEBUG - https://artesimulcast.akamaized.net:443 "GET /hls/live/2031003/artelive_fr/master.m3u8 HTTP/1.1" 200 268
2025-01-05 12:48:11,338 - DEBUG - Content-Type: application/x-mpegURL
2025-01-05 12:48:11,356 - DEBUG - Data received: 1644 bytes
2025-01-05 12:48:11,367 - DEBUG - Starting new HTTPS connection (1): artesimulcast.akamaized.net:443
2025-01-05 12:48:11,498 - DEBUG - https://artesimulcast.akamaized.net:443 "GET /hls/live/2031003/artelive_fr/master.m3u8 HTTP/1.1" 200 268
2025-01-05 12:48:11,502 - DEBUG - Content-Type: application/x-mpegURL
2025-01-05 12:48:11,518 - DEBUG - Data received: 2466 bytes
2025-01-05 12:48:11,529 - DEBUG - Starting new HTTPS connection (1): artesimulcast.akamaized.net:443
2025-01-05 12:48:11,665 - DEBUG - https://artesimulcast.akamaized.net:443 "GET /hls/live/2031003/artelive_fr/master.m3u8 HTTP/1.1" 200 268
2025-01-05 12:48:11,669 - DEBUG - Content-Type: application/x-mpegURL
2025-01-05 12:48:11,686 - DEBUG - Data received: 3288 bytes
2025-01-05 12:48:11,696 - DEBUG - Starting new HTTPS connection (1): artesimulcast.akamaized.net:443
2025-01-05 12:48:11,834 - DEBUG - https://artesimulcast.akamaized.net:443 "GET /hls/live/2031003/artelive_fr/master.m3u8 HTTP/1.1" 200 268
2025-01-05 12:48:11,838 - DEBUG - Content-Type: application/x-mpegURL
2025-01-05 12:48:11,855 - DEBUG - Data received: 4110 bytes
2025-01-05 12:48:11,864 - DEBUG - Starting new HTTPS connection (1): artesimulcast.akamaized.net:443
2025-01-05 12:48:12,002 - DEBUG - https://artesimulcast.akamaized.net:443 "GET /hls/live/2031003/artelive_fr/master.m3u8 HTTP/1.1" 200 268
2025-01-05 12:48:12,006 - DEBUG - Content-Type: application/x-mpegURL
2025-01-05 12:48:12,022 - DEBUG - Data received: 4932 bytes
2025-01-05 12:48:12,023 - ERROR - Maximum retries exceeded for checking channel status
2025-01-05 12:48:12,024 - INFO - Channel initially detected as dead. Retrying with an extended timeout of 60 seconds.
2025-01-05 12:48:12,033 - DEBUG - Starting new HTTPS connection (1): artesimulcast.akamaized.net:443
2025-01-05 12:48:12,167 - DEBUG - https://artesimulcast.akamaized.net:443 "GET /hls/live/2031003/artelive_fr/master.m3u8 HTTP/1.1" 200 268
2025-01-05 12:48:12,170 - DEBUG - Content-Type: application/x-mpegURL
2025-01-05 12:48:12,187 - DEBUG - Data received: 822 bytes
2025-01-05 12:48:12,196 - DEBUG - Starting new HTTPS connection (1): artesimulcast.akamaized.net:443
2025-01-05 12:48:12,335 - DEBUG - https://artesimulcast.akamaized.net:443 "GET /hls/live/2031003/artelive_fr/master.m3u8 HTTP/1.1" 200 268
2025-01-05 12:48:12,338 - DEBUG - Content-Type: application/x-mpegURL
2025-01-05 12:48:12,355 - DEBUG - Data received: 1644 bytes
2025-01-05 12:48:12,365 - DEBUG - Starting new HTTPS connection (1): artesimulcast.akamaized.net:443
2025-01-05 12:48:12,499 - DEBUG - https://artesimulcast.akamaized.net:443 "GET /hls/live/2031003/artelive_fr/master.m3u8 HTTP/1.1" 200 268
2025-01-05 12:48:12,503 - DEBUG - Content-Type: application/x-mpegURL
2025-01-05 12:48:12,520 - DEBUG - Data received: 2466 bytes
2025-01-05 12:48:12,530 - DEBUG - Starting new HTTPS connection (1): artesimulcast.akamaized.net:443
2025-01-05 12:48:12,669 - DEBUG - https://artesimulcast.akamaized.net:443 "GET /hls/live/2031003/artelive_fr/master.m3u8 HTTP/1.1" 200 268
2025-01-05 12:48:12,673 - DEBUG - Content-Type: application/x-mpegURL
2025-01-05 12:48:12,690 - DEBUG - Data received: 3288 bytes
2025-01-05 12:48:12,700 - DEBUG - Starting new HTTPS connection (1): artesimulcast.akamaized.net:443
2025-01-05 12:48:12,838 - DEBUG - https://artesimulcast.akamaized.net:443 "GET /hls/live/2031003/artelive_fr/master.m3u8 HTTP/1.1" 200 268
2025-01-05 12:48:12,842 - DEBUG - Content-Type: application/x-mpegURL
2025-01-05 12:48:12,861 - DEBUG - Data received: 4110 bytes
2025-01-05 12:48:12,871 - DEBUG - Starting new HTTPS connection (1): artesimulcast.akamaized.net:443
2025-01-05 12:48:13,008 - DEBUG - https://artesimulcast.akamaized.net:443 "GET /hls/live/2031003/artelive_fr/master.m3u8 HTTP/1.1" 200 268
2025-01-05 12:48:13,012 - DEBUG - Content-Type: application/x-mpegURL
2025-01-05 12:48:13,029 - DEBUG - Data received: 4932 bytes
2025-01-05 12:48:13,029 - ERROR - Maximum retries exceeded for checking channel status

checking the stream with another tool (iptv-checker), this tool detects the "ARTE HD" stream as online and puts the stream in the resulting online.m3u list:

root@osmc:~/iptv-checker-5-1-2025-12-51-11# cat online.m3u
#EXTM3U
#EXTINF:-1 tvg-name="3sat" tvg-id="3sat.de" group-title="Vollprogramm" tvg-logo="https://raw.githubusercontent.com/jnk22/kodinerds-iptv/master/logos/tv/3sat.png",3sat
https://zdf-hls-18.akamaized.net/hls/live/2016501/dach/veryhigh/master.m3u8
#EXTINF:-1 tvg-name="ARTE HD" tvg-id="ARTE.de" group-title="Vollprogramm" tvg-logo="https://raw.githubusercontent.com/jnk22/kodinerds-iptv/master/logos/tv/artehd.png",ARTE HD
https://artesimulcast.akamaized.net/hls/live/2030993/artelive_de/master.m3u8

regards,
stefan

@NewsGuyTor
Copy link
Owner

It's hard to debug this, I couldn't get them working over my VPN.

Try to run both
ffmpeg -i https://zdf-hls-18.akamaized.net/hls/live/2016501/dach/veryhigh/master.m3u8

and

ffmpeg -i https://artesimulcast.akamaized.net/hls/live/2030993/artelive_de/master.m3u8

and post the output here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants