Skip to content
/ televize Public

Script to play Czech Television (Česká televize) stream in custom player

License

Notifications You must be signed in to change notification settings

ziima/televize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

7b90d33 · Apr 23, 2021

History

98 Commits
Apr 23, 2021
Jul 18, 2018
Apr 23, 2021
Jul 29, 2015
Apr 30, 2020
Apr 23, 2021
Jan 19, 2015
Jul 18, 2018
Jul 18, 2018
Apr 30, 2020
Nov 16, 2016
Apr 30, 2020
Apr 23, 2021
Apr 23, 2021
Apr 23, 2021

Repository files navigation

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).