Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
projects:stream-observer_strobs [2020/10/25 21:34] – [Examples] Remove extra lines between examples simpelprojects:stream-observer_strobs [2026/07/26 22:17] (current) – external edit 127.0.0.1
Line 1: Line 1:
-Stream-Observer (strobs)+Stream-Observer (strobs)
  
 ---- dataentry project ---- ---- dataentry project ----
-name                : Stream-Observer (strobs)  +name                : Stream-Observer (strobs) 
-project-owner       : simpel  +project-owner       : simpel 
-git-url_url         : https://github.com/SimpelMe/stream-observer  +git-url_url         : https://github.com/SimpelMe/stream-observer 
-project-description : Stream-Observer (strobs) is a tool to observe running voc video streams.  +project-description : Stream-Observer (strobs) is a tool to observe running voc video streams. 
-project-member      :  #  +project-member      :  
-project-status     testing # +project-status      running
 ---- ----
  
 +----
 The script opens mpv with all active (currently streaming) streams from [Chaos Computer Club](https://www.ccc.de/en) made by [VOC](https://c3voc.de) (video operation center) in a playlist as found at [https://streaming.media.ccc.de](https://streaming.media.ccc.de). The script opens mpv with all active (currently streaming) streams from [Chaos Computer Club](https://www.ccc.de/en) made by [VOC](https://c3voc.de) (video operation center) in a playlist as found at [https://streaming.media.ccc.de](https://streaming.media.ccc.de).
 Optionally it can also try to open all streams given in a valid playlist. Optionally it can also try to open all streams given in a valid playlist.
Line 17: Line 18:
  
  
-== Options+## Options
 Usage: strobs [ -d | -D | -f | -h | -j | -k | -m | -n | -p _file_ | -s | -t | -v | -V | -x] Usage: strobs [ -d | -D | -f | -h | -j | -k | -m | -n | -p _file_ | -s | -t | -v | -V | -x]
 * -d debug mode: print commands and arguments while executed * -d debug mode: print commands and arguments while executed
Line 34: Line 35:
 * -x exit before mpv, keeps current-playlist.m3u8 * -x exit before mpv, keeps current-playlist.m3u8
  
-==Details+## Details
 The script downloads [http://live.ber.c3voc.de:7999/status-json.xsl](http://live.ber.c3voc.de:7999/status-json.xsl) and searches for active (current streaming) streams. The script downloads [http://live.ber.c3voc.de:7999/status-json.xsl](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](https://streaming.media.ccc.de/streams/v2.json) and extracts end time of the streams and their display names. It reads then [https://streaming.media.ccc.de/streams/v2.json](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. With this informations it builds a playlist in m3u8 format and starts mpv with this playlist.
  
-== Examples+## Examples
 * `strobs` - opens current streams in mpv. * `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 -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. * `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.
  
-== Files+## Files
 * `current-playlist.m3u8` - generated playlist while running * `current-playlist.m3u8` - generated playlist while running
 * `input.conf` - user-defined key bindings for mpv * `input.conf` - user-defined key bindings for mpv
Line 54: Line 55:
 Only `strobs` is absolutely necessary observe running voc video streams. Only `strobs` is absolutely necessary observe running voc video streams.
  
-== Keys and shortcuts +## Keys and shortcuts 
-=== defined by lua scripts+### defined by lua scripts
 * 1 – 0 room number 1 to 10 * 1 – 0 room number 1 to 10
 * q select native audio * q select native audio
Line 63: Line 64:
 * x select slides * x select slides
  
-=== defined defaults by input.conf+### defined defaults by input.conf
 * RIGHT seek  5 * RIGHT seek  5
 * LEFT  seek -5 * LEFT  seek -5
Line 86: Line 87:
 * F9 show list of audio/sub streams * F9 show list of audio/sub streams
  
-== Fixed mpv options+## Fixed mpv options
 It is starting a playlist in mpv with following options: It is starting a playlist in mpv with following options:
 * --fs * --fs
  • projects/stream-observer_strobs.1603661687.txt.gz
  • Last modified: 2020/10/25 21:34
  • by simpel