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