Frans Bergman 1d4a90da1f Add Command struct to formalize command organization | 4 years ago | |
---|---|---|
src | 4 years ago | |
.gitignore | 4 years ago | |
Cargo.lock | 4 years ago | |
Cargo.toml | 4 years ago | |
README.md | 4 years ago |
A simple music bot that reads a FIFO to stream music to a Mumble server.
cargo build
First, configure a music player (e.g. MPD) to write to a FIFO:
mpd.conf
audio_output {
type "fifo"
name "FIFO-1"
path "/tmp/mpd.fifo"
format "48000:16:2"
mixer_type "software"
}
Then start the bot:
./mumble-bot-rs --host example.com --fifo-path /tmp/mpd.fifo
For additional options:
./mumble-bot-rs --help