From aef43e86303607a102d6d2c9ce5c086262a37028 Mon Sep 17 00:00:00 2001 From: azlux Date: Sun, 13 Jan 2019 22:31:08 +0100 Subject: [PATCH 1/4] Section for ban management --- db.ini | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/db.ini b/db.ini index 0a26cfb..90c37bc 100644 --- a/db.ini +++ b/db.ini @@ -1,5 +1,7 @@ [bot] volume = 0.1 -ban_music = [] -ban_user = [] + +[url_ban] + +[user_ban] From e7924e66d74ab7b2b8ae0cd196446952cd90ae6a Mon Sep 17 00:00:00 2001 From: slipenbois Date: Mon, 21 Jan 2019 02:01:21 +0100 Subject: [PATCH 2/4] Added infos for certificate --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c068bd5..bc5caa2 100644 --- a/README.md +++ b/README.md @@ -31,9 +31,10 @@ $ python3 -m venv venv $ venv/bin/pip install wheel $ venv/bin/pip install -r requirements.txt ``` - +### (Optionnal) 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 -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) From 5d15b5e8bfcf716cd4e555563f19665164538d2a Mon Sep 17 00:00:00 2001 From: slipenbois Date: Mon, 21 Jan 2019 02:01:49 +0100 Subject: [PATCH 3/4] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index bc5caa2..e146562 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ $ venv/bin/pip install -r requirements.txt ### (Optionnal) 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 -C -C /path/to/botamusique.pem` +`$ 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) From 929cae8c642da92bd612c48b81c5a392329086d0 Mon Sep 17 00:00:00 2001 From: slipenbois Date: Mon, 21 Jan 2019 02:07:11 +0100 Subject: [PATCH 4/4] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e146562..be7657e 100644 --- a/README.md +++ b/README.md @@ -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,7 +31,7 @@ $ python3 -m venv venv $ venv/bin/pip install wheel $ venv/bin/pip install -r requirements.txt ``` -### (Optionnal) Generate a certificate +### (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 -C /path/to/botamusique.pem`