aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--settings.py1
-rw-r--r--youtube/watch.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/settings.py b/settings.py
index f0c297a..751551b 100644
--- a/settings.py
+++ b/settings.py
@@ -143,6 +143,7 @@ For security reasons, enabling this is not recommended.''',
'comment': '',
'options': [
(360, '360p'),
+ (480, '480p'),
(720, '720p'),
],
'category': 'playback',
diff --git a/youtube/watch.py b/youtube/watch.py
index 38d08f7..eab56f7 100644
--- a/youtube/watch.py
+++ b/youtube/watch.py
@@ -27,7 +27,7 @@ except FileNotFoundError:
def get_video_sources(info, tor_bypass=False):
video_sources = []
if (not settings.theater_mode) or (settings.route_tor == 2) or tor_bypass:
- max_resolution = 360
+ max_resolution = 480
else:
max_resolution = settings.default_resolution
for fmt in info['formats']: