| 179 | |
| 180 | == Music Bot == |
| 181 | |
| 182 | In addition, we have a music-bot that plays music in the channel. It usually hangs out in the danceparty channel. |
| 183 | |
| 184 | This bot is useful for webinars. You can place the broadcast bots in the danceparty channel, along with the music bot, about 15 minutes before the webinar starts. Then, start the broadcast bots. |
| 185 | |
| 186 | When you are ready to start the webinar, pull the broadcast bots into your channel. |
| 187 | |
| 188 | Then, the listeners experience an immediately transition from the music to the start of the webinar. |
| 189 | |
| 190 | === Using the music bot === |
| 191 | |
| 192 | Play music by sending the music-bot the command: `!play luna` (luna can be replaced with any of the streams listed in /usr/local/share/MumbleRadioBot/configuration.ini or an URL to a live radio station). |
| 193 | |
| 194 | Stop music by sending: !stop. |
| 195 | |
| 196 | === Installation, Upgrade, and admin === |
| 197 | |
| 198 | The music bot is installed on toussaint via the music-bot systemd service file: |
| 199 | |
| 200 | {{{ |
| 201 | systemctl start music-bot |
| 202 | }}} |
| 203 | |
| 204 | The music bot was installed via: |
| 205 | |
| 206 | {{{ |
| 207 | apt-get install python3-pip |
| 208 | cd /usr/local/share |
| 209 | git clone --recurse-submodules https://github.com/azlux/MumbleRadioPlayer.git |
| 210 | cd ./MumbleRadioPlayer |
| 211 | pip3 install -r requirements.txt |
| 212 | chmod +x ./mumbleRadioPlayer.py |
| 213 | }}} |
| 214 | |
| 215 | It can be upgrade via: |
| 216 | |
| 217 | {{{ |
| 218 | cd /usr/local/share/MumbleRadioBot |
| 219 | git pull |
| 220 | }}} |