From 2ea7cca76cdab1cf3d5f45fbb45e45afb34fa147 Mon Sep 17 00:00:00 2001 From: Migatu Date: Fri, 29 Mar 2024 15:48:35 +0100 Subject: [PATCH] fix --- start.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/start.sh b/start.sh index c48a14b..897b743 100755 --- a/start.sh +++ b/start.sh @@ -3,4 +3,7 @@ python3 -m venv /home/pi/Conjurer/env source ./env/bin/activate ./env/bin/python3 -m pip install --upgrade pip ./env/bin/python3 -m pip install -r requirements.txt -deactivate \ No newline at end of file +sed -i -e 's/os.rename/shutil.copy/g' ./env/lib/python3.11/site-packages/spotify_dl/youtube.py +sed -i '1i\import shutil' ./env/lib/python3.11/site-packages/spotify_dl/youtube.py +deactivate +sudo systemctl restart conjurer.service