From 4e1e6e3b17556db62b46d6f5291ef12ea21d5e92 Mon Sep 17 00:00:00 2001 From: j Date: Sat, 15 May 2021 14:22:24 +0200 Subject: [PATCH] new youtube-dl version --- requirements.txt | 2 +- update.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index e2f2c2eb..b03274a2 100644 --- a/requirements.txt +++ b/requirements.txt @@ -10,7 +10,7 @@ requests<3.0.0,>=2.24.0 urllib3<2.0.0,>=1.25.2 tornado<5 geoip2==4.1.0 -youtube-dl>=2020.5.8 +youtube-dl>=2021.4.26 python-memcached elasticsearch future diff --git a/update.py b/update.py index 3a2c7a40..685c1dc9 100755 --- a/update.py +++ b/update.py @@ -297,6 +297,8 @@ if __name__ == "__main__": run_sql(sql) run(join(base, 'pandora/manage.py'), 'migrate', 'system') run(join(base, 'pandora/manage.py'), 'update_geoip') + if old <= 6383: + run('./bin/pip', 'install', '-r', 'requirements.txt') else: if len(sys.argv) == 1: branch = get_branch()