diff options
author | James Taylor <user234683@users.noreply.github.com> | 2019-09-06 14:53:06 -0700 |
---|---|---|
committer | James Taylor <user234683@users.noreply.github.com> | 2019-09-06 14:53:06 -0700 |
commit | ed066e7414ebb5b0cee9ce6458d96e73513defbe (patch) | |
tree | 94a16007e367adc3e7d1b89f2b1200038cd2f877 | |
parent | e14ec885916e07da4fcda18ad500d63f79d76443 (diff) | |
download | yt-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.py | 9 |
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', { |