Natenoms Wiki

Weil Teilen Spaß macht :)





Step 1 – Install the dependencies

<source highlight=„bash“>sudo apt-get install git mercurial pkg-config libopus-dev</source>

The golang version available on Ubuntu 14.04 is too old to be used with MumbleDJ, so you need to setup the latest version: <source highlight=„bash“>wget</source><br /> <source highlight=„bash“>mkdir ~/go-lang && tar xvzf go1.3.1.linux-amd64.tar.gz -C ~/go-lang</source><br /> Add the go binary to your path variable (before the default path in order to override a system wide installed go environment): <source highlight=„bash“>export PATH=„$HOME/go-lang/go/bin:$PATH“</source><br /> <source highlight=„bash“>export GOROOT=$HOME/go-lang/go/</source><br /> <source highlight=„bash“></source><br />

Step 2


type=warningThe origin MumbleDJ tries to download the m4a of a video which is not available in most cases. Instead you can clone which downloads the video and extracts the audio.box_end

bla, weg …

MumbleDJ and Barnard are both written in Go so you need to setup an environment for this programming language. <source highlight=„bash“>mkdir -p $HOME/go-apps/src</source><br /> <source highlight=„bash“>export GOPATH=$HOME/go-apps/</source><br /> <source highlight=„bash“>cd $HOME/go-apps/src</source><br /> <source highlight=„bash“>git clone</source><br /> <source highlight=„bash“>cd mumbledj</source><br /> <source highlight=„bash“>go get</source><br /> Now you can run your bot for a first test: <source highlight=„bash“>go run cmd/</source><br /> <source highlight=„bash“></source><br />

Mumble audio bots Mumble audio bot

en/mumble/audiobots/mumbledj.txt · Zuletzt geändert: 2020/06/01 23:14 (Externe Bearbeitung)