This repository has been archived on 2019-06-23. You can view files and clone it, but cannot push or open issues/pull-requests.
mumbledj/README.md

72 lines
3.6 KiB
Markdown
Raw Normal View History

2014-09-12 22:27:03 +02:00
MumbleDJ
========
2014-12-27 09:46:13 +01:00
A Mumble bot that plays music fetched from YouTube videos.
2014-12-27 09:46:13 +01:00
**IMPORTANT NOTE:** If you were using the Lua version of MumbleDJ previously, you will need to follow the installation guide once more to install new dependencies.
2014-09-16 21:14:44 +02:00
## USAGE
2014-12-21 06:22:06 +01:00
`$ mumbledj -server=localhost -port=64738 -username=MumbleDJ -password="" -channel=root`
All parameters are optional, the example above shows the default values for each field.
## INSTALLATION
Installation for v2 of MumbleDJ is much easier than it was before, due to the reduced dependency list and a `Makefile` which automates some of the process.
**NOTE:** This bot was designed for use on Linux machines. If you wish to run the bot on another OS, it will require tweaking and is not something I will be able to help with.
**SETUP GUIDE**
**1)** Install and correctly configure [`Go`](https://golang.org/). Specifically, make sure to follow [this guide](https://golang.org/doc/code.html) and set the `GOPATH` environment variable properly.
**2)** Install [`ffmpeg`](https://www.ffmpeg.org/) if it is not already installed on your system.
2014-12-27 09:24:32 +01:00
**3)** Install [`youtube-dl`](https://github.com/rg3/youtube-dl#installation).
2014-12-27 09:46:13 +01:00
**4)** Clone the `MumbleDJ` repository or [download the latest release](https://github.com/matthieugrieger/mumbledj/releases).
2014-12-27 09:24:32 +01:00
**5)** `cd` into the `MumbleDJ` repository directory and execute the following commands:
```
$ make install_deps
$ make
$ make install
```
**5)** Edit `~/.mumbledj/config/mumbledj.gcfg` to your liking. This file will be overwritten if the config file structure is changed in a commit, but a backup is always stored at `~/.mumbledj/config/mumbledj_backup.gcfg`.
**6)** Execute the command shown at the top of this `README` document with your credentials, and the bot should be up and running!
## AUTHOR
2014-09-11 21:06:19 +02:00
[Matthieu Grieger](http://matthieugrieger.com)
## LICENSE
2014-09-15 03:15:23 +02:00
```
The MIT License (MIT)
2014-09-11 21:06:19 +02:00
2014-09-15 03:15:23 +02:00
Copyright (c) 2014 Matthieu Grieger
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
```
2014-09-11 21:06:19 +02:00
## THANKS
2014-12-19 01:27:06 +01:00
* All those who contribute to [Mumble](https://github.com/mumble-voip/mumble).
* [Tim Cooper](https://github.com/bontibon) for [gumble](https://github.com/layeh/gumble).
2014-11-26 00:58:25 +01:00
* [Ricardo Garcia](https://github.com/rg3) for [youtube-dl](https://github.com/rg3/youtube-dl).
2014-12-15 05:37:54 +01:00
* [ScalingData](https://github.com/scalingdata) for [gcfg](https://github.com/scalingdata/gcfg).
2014-12-15 05:41:28 +01:00
* [Hicham Bouabdallah](https://github.com/hishboy) for [Golang queue implementation](https://github.com/hishboy/gocommons/blob/master/lang/queue.go).
2014-12-19 01:27:06 +01:00
* [kennygrant](https://github.com/kennygrant) for [sanitize](https://github.com/kennygrant/sanitize).
* [Jason Moiron](https://github.com/jmoiron) for [jsonq](https://github.com/jmoiron/jsonq).