aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Taylor <user234683@users.noreply.github.com>2019-09-06 14:53:06 -0700
committerJames Taylor <user234683@users.noreply.github.com>2019-09-06 14:53:06 -0700
commited066e7414ebb5b0cee9ce6458d96e73513defbe (patch)
tree94a16007e367adc3e7d1b89f2b1200038cd2f877
parente14ec885916e07da4fcda18ad500d63f79d76443 (diff)
downloadyt-local-ed066e7414ebb5b0cee9ce6458d96e73513defbe.tar.lz
yt-local-ed066e7414ebb5b0cee9ce6458d96e73513defbe.tar.xz
yt-local-ed066e7414ebb5b0cee9ce6458d96e73513defbe.zip
Adapt theme and layout settings to settings page system
-rw-r--r--settings.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/settings.py b/settings.py
index 16cdf78..15d2e01 100644
--- a/settings.py
+++ b/settings.py
@@ -102,12 +102,21 @@ For security reasons, enabling this is not recommended.''',
'type': int,
'default': 720,
'comment': '',
+ 'options': [
+ (360, '360p'),
+ (720, '720p'),
+ ],
}),
('theme', {
'type': int,
'default': 0,
'comment': '',
+ 'options': [
+ (0, 'Light'),
+ (1, 'Gray'),
+ (2, 'Dark'),
+ ],
}),
('gather_googlevideo_domains', {