Skip to content
This repository has been archived by the owner on Jun 28, 2024. It is now read-only.

Commit

Permalink
Merge branch 'master' of github.com:azlux/botamusique
Browse files Browse the repository at this point in the history
  • Loading branch information
azlux committed Jan 30, 2019
2 parents fd68f78 + 929cae8 commit fcad1db
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)

Expand Down
6 changes: 4 additions & 2 deletions db.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
[bot]
volume = 0.1
ban_music = []
ban_user = []

[url_ban]

[user_ban]

0 comments on commit fcad1db

Please sign in to comment.