televize
Script to play Czech Television (Česká televize) streams in custom video player.
Installation
Directly using pip:
pip install televize
Dependencies
python >=3.5
Any player which supports internet playlists. mpv is used by default.
Other dependencies are listed in requirements.txt.
Usage
televize live 24 # CT24 televize live D # CT:D televize live sport # CT-sport televize ivysilani http://www.ceskatelevize.cz/ivysilani/11276561613-kosmo/ televize ivysilani http://www.ceskatelevize.cz/porady/11276561613-kosmo/215512121020005-triumf
Complete usage is printed using –help argument:
televize --help
macOS
To open stream in a native player on macOS (e.g. VLC), use –player command open -a APP –args. For example:
televize --player "open -a VLC --args" live 24
Recommendations
A reload script https://github.com/4e6/mpv-reload is highly recommended for mpv.
Acknowledgement
Based on Perl scripts televize and ctstream from Petr Písař (http://xpisar.wz.cz).
Changelog
0.6.0 (2021-04-23)
Support python 3.6-3.9.
Restore certificate verification.
Update README.
Update settings for tests, static checks and CI.
Resolve various warnings.
0.5
Fix after ceskatelevize.cz switched to HTTPS.
Fix PyPI description by using ReST for readme and changelog.
0.4
Fix pypi upload
0.3
Add support for “pořady” URLs.
Fix live streams after CT update in April.
0.2
Add –quality argument to select stream quality.
Better exception handling.
Metadata
Release files for televize 0.6.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| televize-0.6.0.tar.gz | 15.6 kB | Without provenance | Details for televize-0.6.0.tar.gz |
Release files / televize-0.6.0.tar.gz
| Download URL | televize-0.6.0.tar.gz |
|---|---|
| Size | 15.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6b9a346d91c90bcb9cb2de1862dcce7d8e4ba5d7121ab4c6b9a2b109c9ca900e
|
|
BLAKE2b-256 checksum How to use checksums |
91b6229e102786edf5fe689e7ac59078e7289d5acb6a7b4771bb46984e189525
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.4.2 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2
|
Security for televize 0.6.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.