aboutsummaryrefslogtreecommitdiffstats
path: root/settings.py
diff options
context:
space:
mode:
authorJames Taylor <user234683@users.noreply.github.com>2018-07-13 16:54:33 -0700
committerJames Taylor <user234683@users.noreply.github.com>2018-07-13 16:54:33 -0700
commitcccffb83544fec8d3297d57ea36aef307616ac95 (patch)
tree1c1af6fdd1f547be216f6476304ec519177cad66 /settings.py
parent12382d5205fa3ba38f0dad8df8e4fc266ba01f29 (diff)
downloadyt-local-cccffb83544fec8d3297d57ea36aef307616ac95.tar.lz
yt-local-cccffb83544fec8d3297d57ea36aef307616ac95.tar.xz
yt-local-cccffb83544fec8d3297d57ea36aef307616ac95.zip
language settings and default-mode settings for subtitles
Diffstat (limited to 'settings.py')
-rw-r--r--settings.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/settings.py b/settings.py
index 499b32b..68f25d6 100644
--- a/settings.py
+++ b/settings.py
@@ -1,6 +1,14 @@
default_settings = '''route_tor = False
port_number = 80
allow_foreign_addresses = False
+
+# 0 - off by default
+# 1 - only manually created subtitles on by default
+# 2 - enable even if automatically generated is all that's available
+subtitles_mode = 0
+
+# ISO 639 language code: https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes
+subtitles_language = "en"
'''
exec(default_settings)
try: