|Roshless 2f4efed5ea slight changes to readme||8 months ago|
|bot||9 months ago|
|commands||9 months ago|
|interfaces||2 years ago|
|services||1 year ago|
|vendor||2 years ago|
|.gitignore||2 years ago|
|CHANGELOG.md||9 months ago|
|CONTRIBUTING.md||9 months ago|
|LICENSE||1 year ago|
|Makefile||1 year ago|
|README.md||8 months ago|
|bindata.go||2 years ago|
|config.yaml||9 months ago|
|glide.lock||2 years ago|
|glide.yaml||1 year ago|
|main.go||1 year ago|
|todo||11 months ago|
A Mumble bot that plays audio fetched from various media websites.
Fork of matthieugrieger’s mumbledj
IMPORTANT NOTE: MumbleDJ is only tested and developed for Linux systems. Support will not be given for non-Linux systems if problems are encountered.
All MumbleDJ installations must also have the following installed:
aria2if you plan on using services that throttle download speeds (like Mixcloud)
If installing via
go install or from source, the following must be installed:
go help gopathfor more information.
A YouTube API key must be present in your configuration file in order to use the YouTube service within the bot. Below is a guide for retrieving an API key:
1) Navigate to the Google Developers Console and sign in with your Google account, or create one if you haven’t already.
2) Click the “Create Project” button and give your project a name. It doesn’t matter what you set your project name to. Once you have a name click the “Create” button. You should be redirected to your new project once it’s ready.
3) Click on “APIs & auth” on the sidebar, and then click APIs. Under the “YouTube APIs” header, click “YouTube Data API”. Click on the “Enable API” button.
4) Click on the “Credentials” option underneath “APIs & auth” on the sidebar. Underneath “Public API access” click on “Create New Key”. Choose the “Server key” option.
5) Add the IP address of the machine MumbleDJ will run on in the box that appears (this is optional, but improves security). Click “Create”.
6) You should now see that an API key has been generated. Copy/paste this API key into the configuration file located at
A SoundCloud client ID must be present in your configuration file in order to use the SoundCloud service within the bot. Below is a guide for retrieving a client ID:
1) Login/sign up for a SoundCloud account on https://soundcloud.com.
2) Create a new app: https://soundcloud.com/you/apps/new.
3) You should now see that a client ID has been generated. Copy/paste this ID (NOT the client secret) into the configuration file located at
go get(might not work)
After verifying that the requirements are installed, simply issue the following command:
go get -u git.roshless.me/roshless/mumbledj
This should place a binary in
$GOPATH/bin that can be used to start the bot.
First, clone the MumbleDJ repository to your machine:
git clone https://git.roshless.me/roshless/mumbledj.git
Install the required software as described in the requirements section, and execute the following:
This will place a compiled
mumbledj binary in the cloned directory if successful. If you would like to make the binary more accessible by adding it to
/usr/local/bin, simply execute the following:
sudo make install
NAME: MumbleDJ - A Mumble bot that plays audio from various media sites. USAGE: mumbledj [global options] command [command options] [arguments...] VERSION: v3.1.0 COMMANDS: GLOBAL OPTIONS: --config value, -c value location of MumbleDJ configuration file (default: "/home/$USER/.config/mumbledj/config.yaml") --server value, -s value address of Mumble server to connect to (default: "127.0.0.1") --port value, -o value port of Mumble server to connect to (default: "64738") --username value, -u value username for the bot (default: "MumbleDJ") --password value, -p value password for the Mumble server --channel value, -n value channel the bot enters after connecting to the Mumble server --p12 value path to user p12 file for authenticating as a registered user --cert value, -e value path to PEM certificate --key value, -k value path to PEM key --accesstokens value, -a value list of access tokens separated by spaces --insecure, -i if present, the bot will not check Mumble certs for consistency --debug, -d if present, all debug messages will be shown --help, -h show help --version, -v print the version
NOTE: You can also override all settings found within
config.yaml directly from the commandline. Here’s an example:
mumbledj --admins.names="SuperUser,Matt" --volume.default="0.5" --volume.lowest="0.2" --queue.automatic_shuffle_on="true"
Keep in mind that values that contain commas (such as
"SuperUser,Matt") will be interpreted as string slices, or arrays if you are not familiar with Go. If you want your value to be interpreted as a normal string, it is best to avoid commas for now.
You can check that in config.yaml