1.5.0: make preferred audio and subtitle languages configurable
This commit is contained in:
parent
0f75889a3e
commit
f584b17dd1
6 changed files with 121 additions and 33 deletions
32
README.md
32
README.md
|
|
@ -18,15 +18,33 @@ screencap-bot is configured with the following environment variables,
|
|||
which can also be put in a `.env` file in the program's working
|
||||
directory:
|
||||
|
||||
- `SCREENCAP_BOT_CAPTURE_IMAGES`: whether to take screenshots (default: `true`)
|
||||
- `SCREENCAP_BOT_CAPTURE_AUDIO_DURATION`: length of audio clips to capture, in seconds (default: unset, no audio capture)
|
||||
- `SCREENCAP_BOT_SHOWS_FILE`: path of a YAML file specifying what shows to take captures from (default: `./shows.yaml`)
|
||||
- `SCREENCAP_BOT_GLOBAL_TAGS`: tags to put on every post the bot makes, as a comma-separated list (eg `bot account,automated post,The Cohost Bot Feed`) (default: none)
|
||||
- `SCREENCAP_BOT_CAPTURE_IMAGES`: whether to take screenshots
|
||||
(default: `true`)
|
||||
- `SCREENCAP_BOT_CAPTURE_AUDIO_DURATION`: length of audio clips to
|
||||
capture, in seconds. if unset, or set to 0, audio will not be
|
||||
captured. (default: unset, no audio capture)
|
||||
- `SCREENCAP_BOT_SUBTITLE_LANGUAGE`: ISO-639-2 three-letter code for a
|
||||
subtitle language to embed in screenshots. if this is set to an
|
||||
empty string, or if a video doesn't have any subtitle track tagged
|
||||
with this language, no subtitles will be embedded. (default: `eng`)
|
||||
- `SCREENCAP_BOT_AUDIO_LANGUAGE`: ISO-639-2 three-letter code for an
|
||||
audio language to prefer when capturing audio clips. if this is
|
||||
unset, set to an empty string, or if a media file doesn't have any
|
||||
audio track tagged with this language, screencap-bot will choose an
|
||||
arbitrary audio track. (default: unset)
|
||||
- `SCREENCAP_BOT_SHOWS_FILE`: path of a YAML file specifying what
|
||||
shows to take captures from (default: `./shows.yaml`)
|
||||
- `SCREENCAP_BOT_GLOBAL_TAGS`: tags to put on every post the bot
|
||||
makes, as a comma-separated list (eg `bot account,automated post,The
|
||||
Cohost Bot Feed`) (default: none)
|
||||
- `SCREENCAP_BOT_POST_INTERVAL`: the interval between posts, in
|
||||
seconds (default: 0, post a single capture and then exit)
|
||||
- `SCREENCAP_BOT_COHOST_EMAIL`: the email address the bot should use to log into cohost
|
||||
- `SCREENCAP_BOT_COHOST_PASSWORD`: the password the bot should use to log into cohost
|
||||
- `SCREENCAP_BOT_COHOST_PAGE`: the cohost page the bot should post from
|
||||
- `SCREENCAP_BOT_COHOST_EMAIL`: the email address the bot should use
|
||||
to log into cohost
|
||||
- `SCREENCAP_BOT_COHOST_PASSWORD`: the password the bot should use to
|
||||
log into cohost
|
||||
- `SCREENCAP_BOT_COHOST_PAGE`: the cohost page the bot should post
|
||||
from
|
||||
- `SCREENCAP_BOT_COHOST_DRAFT`: whether to create cohost posts as
|
||||
drafts, eg for testing (default: `false`)
|
||||
- `SCREENCAP_BOT_COHOST_CW`: whether to CW posts with the episode
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue