Merge branch 'master' of github.com:azlux/botamusique

This commit is contained in:
Azlux 2019-01-30 22:31:29 +01:00
commit fcad1db04a
2 changed files with 8 additions and 5 deletions

View File

@ -11,7 +11,7 @@ Bot the can play :
-----
### Web interface
* Disable * I need to work on it. Since I use this bot for radio, youtube/soundcloud and folder music, the web interace isn't ready.
* Disabled I need to work on it. Since I use this bot for radio, youtube/soundcloud and folder music, the web interace isn't ready.
You need to create a folder for all your music. Organize your music by subfolder.
The main folder needs to be declared in the config (with a '/' at the end)
@ -31,9 +31,10 @@ $ python3 -m venv venv
$ venv/bin/pip install wheel
$ venv/bin/pip install -r requirements.txt
```
### (Optional) Generate a certificate
`$ openssl req -x509 -nodes -days 3650 -newkey rsa:2048 -keyout botamusique.pem -out botamusique.pem -subj "/CN=botamusique"`
### Starting the bot
`$ venv/bin/python mumbleBot.py -s HOST -u BOTNAME -P PASSWORD -p PORT -c CHANNEL`
`$ venv/bin/python mumbleBot.py -s HOST -u BOTNAME -P PASSWORD -p PORT -c CHANNEL -C /path/to/botamusique.pem`
The bot listen to the 8181 port so you should redirect to this one in you NAT configuration to let others peoples access the web interface. (DISABLED)

6
db.ini
View File

@ -1,5 +1,7 @@
[bot]
volume = 0.1
ban_music = []
ban_user = []
[url_ban]
[user_ban]