A small tool to extract raw video URLs from live.rbg.tum.de streams and VODs and open them in a preferred desktop player via the command line. Also supports the selection of different views (combined, only camera, only presentation).
rbg2player requires Python 3 or later.
Make sure the directory pip installs binarys to is on your PATH (usually ~/.local/bin/, but depends on your Python environment).
pip install git+https://github.com/max-ae/tum-rbg2player
pip install -U git+https://github.com/max-ae/tum-rbg2player
Usage: rbg2player [OPTIONS] URL
Options:
-p, --player TEXT command that is executed to invoke the
player, defaults to VLC
-v, --view [combined|camera|presentation]
view to open
--help Show this message and exit.
There are none. Setting default players or views is supported via aliases in your shell.
For example, the following alias for bash/zsh/etc.
alias rbg2player='rbg2player -v presentation'
leads to loading the presentation view per default.
These aliases can be overridden by simply providing a different option.
-
Opens the provided URL in the default player VLC, with the default combined view.
$ rbg2player <URL> -
Opens the provided URL in the default player VLC, with only the presentation view.
$ rbg2player -v presentation <URL> -
Opens the provided URL in the player IINA, with the default combined view.
$ rbg2player -p iina <URL>