Skip to content

plugins.ceskatelevize: rewrite and fix plugin #6397

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

Merged
merged 1 commit into from
Jan 13, 2025

Conversation

bastimeyer
Copy link
Member

Fixes #6394

No idea if the validation schema of the sports channel is good enough and catches all cases with weird licensing restrictions of their live streams, but it works now and it's basically the same format as the one from the previous implementation, so I don't really care.

Streams were working fine, unless region blocked.

German IP address: not all inaccessible streams are marked as ones, and a short video with a region block screen is returned instead

$ ./script/test-plugin-urls.py ceskatelevize --metadata
:: https://ceskatelevize.cz/zive/art
::  288p, 404p, 576p, worst, best
::   {'id': 'CH_6', 'author': None, 'category': None, 'title': 'ČT art'}
:: https://ceskatelevize.cz/zive/ch-28
:::: The stream is inaccessible
!! No streams found
:: https://ceskatelevize.cz/zive/ct1
::  288p, 404p, 576p, 720p, 1080p, worst, best
::   {'id': 'CH_1', 'author': None, 'category': None, 'title': 'ČT1'}
:: https://ceskatelevize.cz/zive/ct2
:::: The stream is inaccessible
!! No streams found
:: https://ct24.ceskatelevize.cz/
::  288p, 404p, 576p, 720p, 1080p, worst, best
::   {'id': 'CH_24', 'author': None, 'category': None, 'title': 'ČT24'}
:: https://decko.ceskatelevize.cz/
::  288p, 404p, 576p, 720p, 1080p, worst, best
::   {'id': 'CH_5', 'author': None, 'category': None, 'title': 'ČT :D'}
:: https://sport.ceskatelevize.cz/
:::: The stream is inaccessible
!! No streams found

Czech IP address using a VPN: all streams were working fine

$ ./script/test-plugin-urls.py ceskatelevize --metadata
:: https://ceskatelevize.cz/zive/art
::  288p, 404p, 576p, 720p, 1080p, worst, best
::   {'id': 'CH_6', 'author': None, 'category': None, 'title': 'ČT art'}
:: https://ceskatelevize.cz/zive/ch-28
::  288p, 404p, 576p, 720p, 1080p, worst, best
::   {'id': 'CH_28', 'author': None, 'category': None, 'title': 'I28'}
:: https://ceskatelevize.cz/zive/ct1
::  288p, 404p, 576p, 720p, 1080p, worst, best
::   {'id': 'CH_1', 'author': None, 'category': None, 'title': 'ČT1'}
:: https://ceskatelevize.cz/zive/ct2
::  288p, 404p, 576p, 720p, 1080p, worst, best
::   {'id': 'CH_2', 'author': None, 'category': None, 'title': 'ČT2'}
:: https://ct24.ceskatelevize.cz/
::  288p, 404p, 576p, 720p, 1080p, worst, best
::   {'id': 'CH_24', 'author': None, 'category': None, 'title': 'ČT24'}
:: https://decko.ceskatelevize.cz/
::  288p, 404p, 576p, 720p, 1080p, worst, best
::   {'id': 'CH_5', 'author': None, 'category': None, 'title': 'ČT :D'}
:: https://sport.ceskatelevize.cz/
::  288p, 404p, 576p, 720p, 1080p, worst, best
::   {'id': 'CH_4', 'author': None, 'category': None, 'title': 'ČT Sport'}

@bastimeyer bastimeyer added the plugin issue A Plugin does not work correctly label Jan 13, 2025
@bastimeyer bastimeyer merged commit 6458f87 into streamlink:master Jan 13, 2025
23 checks passed
@bastimeyer bastimeyer deleted the plugins/ceskatelevize/6394 branch January 13, 2025 20:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
plugin issue A Plugin does not work correctly
Projects
None yet
Development

Successfully merging this pull request may close these issues.

plugins.ceskatelevize: error This stream is not available / No playable streams found on this URL
1 participant