This commit is contained in:
qvalentin 2022-01-01 16:32:35 +01:00
commit ca2037194f
1 changed files with 15 additions and 0 deletions

15
das_erste.py Executable file
View File

@ -0,0 +1,15 @@
#!/usr/bin/env python3
import pychromecast
CC_IP = '192.168.178.22'
cast = pychromecast.Chromecast(CC_IP)
cast.wait()
mc = cast.media_controller
# see https://github.com/mediathekview/zapp/blob/0df9ea4eccc3ddc9ca9d344f7d5c1916e19696e0/app/src/main/res/raw/channels.json
mc.play_media('https://mcdn.daserste.de/daserste/de/master.m3u8', 'application/vnd.apple.mpegurl')