This is a music plugin for the bruxism multi-service bot.
This code is in very early stages and is still a bit messy.
- ffmpeg must be installed and within your PATH
- youtube-dl must be installed and exist in the same folder as bruxism.
- dca must be installed and exist in the same folder as bruxism.
Music Plugin Commands
- NOTE: All commands must be prefixed with a @mention of your bot
musiccan be abbreviated with just
@botname music <required> [optional] [this | or this]
Commands Quick Reference
||Join channel of caller or provided channel ID|
|music leave||Leave the currently connected voice channel.|
||Start queue player and optionally enqueue a URL|
|music info||Display plugin / queue / playing song info|
|music pause||Pause playback.|
|music resume||Resume playback.|
|music skip||Skip current song.|
|music stop||Stop queue player.|
|music loop||Toggle Loop Queue setting|
|music list||List all items in queue.|
|music clear||Clear all items from queue.|
For faster startup of youtube-dl use github cloned version of youtube-dl, see https://www.raspberrypi.org/forums/viewtopic.php?f=38&t=83763
To avoid youtube-dl ffmpeg post processing error, use a youtube-dl version past this commit https://github.com/rg3/youtube-dl/commit/e38cafe986994d65230e6518752def8b53ad7308 see issue https://github.com/rg3/youtube-dl/issues/8729#event-574790956