The script opens mpv with all active (currently streaming) streams from Chaos Computer Club made by VOC (video operation center) in a playlist as found at https://streaming.media.ccc.de. Optionally it can also try to open all streams given in a valid playlist.
First make strobs
executable with chmod +x strobs
. Then execute ./strobs
. Install mpv if not existing.
Usage: strobs [ -d | -D | -f | -h | -j | -k | -m | -n | -p file | -s | -t | -v | -V | -x]
input.conf
needed)strobs.1
needed)The script downloads http://live.ber.c3voc.de:7999/status-json.xsl and searches for active (current streaming) streams. It reads then https://streaming.media.ccc.de/streams/v2.json and extracts end time of the streams and their display names. With this informations it builds a playlist in m3u8 format and starts mpv with this playlist.
strobs
- opens current streams in mpv.strobs -p 36c3.m3u8 -s
- uses the playlist 36c3.m3u8 for mpv. In addition it will sort the returned streams alphanumerical.strobs -j -f
- will download and save status_liveber.xsl, status_ingest.xsl, current.json and exit before opening mpv. In addition it will save json including past events.current-playlist.m3u8
- generated playlist while runninginput.conf
- user-defined key bindings for mpvkeys.lua
- script with key bindings for audio, video and roomsstrobs
- the shell script to executestrobs.1
- man pagevoctocat.png
- image used as last playlist item, so mpv does not stop
Only strobs
is absolutely necessary observe running voc video streams.
It is starting a playlist in mpv with following options: