Command-line utilites to automate YouTube resources
bcast
: live broadcast controllerstream
: live stream controller
$ ./bin/stream add test
xxxx-xxxx-xxxx-xxxx-xxxx
$ ./bin/bcast start "Test Title" xxxx-xxxx-xxxx-xxxx-xxxx
$ ./bin/bcast stop
$ ./bin/stream rm test
Streams are reusable across multiple broadcasts.
Follow the quickstart guide
to create an OAuth 2.0 client ID in the
Google API console, and then
download the client secrets JSON file.
Its path must be specified with the -S
option on the initial use of
the tools.
By default, OAuth access and refresh tokens are cached at
${XDG_CACHE_HOME}/youtube-remote.pickle
, typically
${HOME}/.cache/youtube-remote.pickle
.
Once authorized, subsequent invocations can be non-interactive.