mirror of
https://github.com/migatu/conjurer.git
synced 2026-07-14 21:38:38 +00:00
Work on deployment
fix fax fx Fin part fx 121 Temp fix as aa fx f5 fx4 fix fx1 Work on deployment
This commit is contained in:
@@ -706,6 +706,8 @@ async def get_file(ctx, source, link):
|
|||||||
"force_keyframes": True,
|
"force_keyframes": True,
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
|
#TODO: Make sponsorblock work
|
||||||
|
sponsorblock_postprocessor = []
|
||||||
if platform == "win32":
|
if platform == "win32":
|
||||||
dir_path = "G:\\Muzyka\\Youtube"
|
dir_path = "G:\\Muzyka\\Youtube"
|
||||||
else:
|
else:
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
cd ./conjurer/
|
|
||||||
git pull
|
git pull
|
||||||
cd ..
|
cd ..
|
||||||
cp ./conjurer/bot.py ./Conjurer/
|
cp ./conjurer/bot.py ./Conjurer/
|
||||||
cp ./conjurer/settings.json ./Conjurer/
|
cp ./conjurer/settings.json ./Conjurer/
|
||||||
cp ./conjurer/system_gpt_settings.json ./Conjurer/
|
cp ./conjurer/system_gpt_settings.json ./Conjurer/
|
||||||
|
cp ./conjurer/start.sh ./Conjurer/
|
||||||
|
cp ./conjurer/requirements.txt ./Conjurer/requirements.txt
|
||||||
sudo systemctl restart conjurer.service
|
sudo systemctl restart conjurer.service
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +0,0 @@
|
|||||||
discord
|
|
||||||
yt_dl
|
|
||||||
spotify_dl
|
|
||||||
spotipy
|
|
||||||
Executable
+9
@@ -0,0 +1,9 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
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
|
||||||
|
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
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
discord
|
||||||
|
yt_dlp
|
||||||
|
spotify_dl
|
||||||
|
spotipy
|
||||||
|
openai
|
||||||
|
eyed3
|
||||||
|
numpy
|
||||||
|
pdf2image
|
||||||
|
PyPDF2
|
||||||
|
requests
|
||||||
|
spotipy
|
||||||
|
tiktoken
|
||||||
Reference in New Issue
Block a user