mirror of
https://github.com/migatu/conjurer.git
synced 2026-07-14 21:38:38 +00:00
16ead67cf3
* Logging added to music service * Logging + playlist + plans Fix logger * Liq radio + some comments and nice stuff fix fix Fix ? fx Liquidsoap init test test2 test Tst tst fix PLS tst tst test test fix tst aa aa# Please enter the commit message for your changes. Lines starting Ping fix? fix fix Working version Upgrade Fix fix metadata test fix fix# Please enter the commit message for your changes. Lines starting Fix aa fix fix test FIx test test test fix fix fix? aa fix test Final v.00 HLS Serve * Fixing the bug in the conjurer_musician.py file. Fx Fix fx Fix ? Revert "Fix" This reverts commit 4e185f7b34dfede04ed36ab9813bd9d1f7fb8b35. Adding deploy for music bot * Adding playlists, various bufixes and installation scripts Adding playlists, various bufixes and installation scripts Fixing Rename KUUUURWA Install script music bot fx Fix ? fix Synchro test test Undo tst test tst Undo changes test fx tst fx Test commit of two files priority queue. * Bugfix in script deploy_music.sh
27 lines
1.1 KiB
Bash
Executable File
27 lines
1.1 KiB
Bash
Executable File
#!/bin/bash
|
|
cd /home/pi
|
|
mkdir Conjurer
|
|
cd Conjurer
|
|
python3 -m venv /home/pi/Conjurer/env
|
|
source /home/pi/Conjurer/env/bin/activate
|
|
cp /home/pi/conjurer/conjurer_musician/requirements_musician.txt /home/pi/Conjurer/
|
|
cp /home/pi/conjurer/conjurer_musician/conjurer_musician.py /home/pi/Conjurer/
|
|
cp /home/pi/conjurer/conjurer_musician/radio_conjurer.liq /home/pi/Conjurer/
|
|
touch /home/pi/Conjurer/discord_mus_service.log
|
|
touch /home/pi/Conjurer/all_playlist.txt
|
|
touch /home/pi/Conjurer/playlist.json
|
|
touch /home/pi/Conjurer/priority_queue.playlist
|
|
touch /home/pi/Conjurer/radio_log.log
|
|
./env/bin/python3 -m pip install --upgrade pip
|
|
./env/bin/python3 -m pip install -r requirements_musician.txt
|
|
deactivate
|
|
sudo cp /home/pi/conjurer/conjurer_musician/conjurer_musician.service /etc/systemd/system/
|
|
sudo systemctl daemon-reload
|
|
sudo systemctl start conjurer_musician.service
|
|
sudo systemctl enable conjurer_musician.service
|
|
|
|
sudo cp /home/pi/conjurer/conjurer_musician/radio_service.service /etc/systemd/system/
|
|
sudo systemctl daemon-reload
|
|
sudo systemctl start radio_service.service
|
|
sudo systemctl enable radio_service.service
|