v2.0.0 - Major Reworks, Youtube AutoPlay, And More!
Major Updates
Youtube Plugin
- Added an 'Autoplay' feature which is enabled by default in the configs.ini file.
- Optimized the youtube queue to add playlists 50x+ faster!
This feature allows the youtube queue to automatically play the next song in the queue when it finishes. - Added
!autoplay
command to enable/disable autoplay for the youtube queue.
Usage:
!autoplay --> enables autoplay if disabled, disables if enabled.
- Added
!remove
command to remove tracks from the youtube queue.
Usage:
!remove 5 --> Removes the 5th track in the queue (you can view the queue with !queue)
- Added
!linkfront
command to priority insert direct link videos to the front of the queue
It works similarly to the!link
command but inserts to the front instead of the back of the queue,
Usage:
!linkfront my_yt_link --> Adds direct link video to the front of the queue
- The
!queue
command now wraps the resulting list like the!sblist/!imglist
commands so that it doesn't hit the mumble text limit if the user allows very large queues.
Changes To Plugins
- The plugin template has been modified which requires all custom plugins to be updated.
- Plugins no longer require a mumble reference passed through as a parameter, instead use GlobalMods mumble reference (all built-in plugins have been updated to reflect this change)
- Plugins now require a 'is_audio_plugin' boolean method (all built-in plugins have been updated to reflect this change)
- Removed uptime plugin and moved features to the core JJMumbleBot script
Bug Fixes
- Fixed
!uptime
command to properly display the elapsed time - Fixed issues with safe mode
Other Updates
- Safe mode now has a fixed tick rate of 0.2
- Updated bot version to v2.0.0
- Updated all built-in plugins to v2.0.0
- Updated plugin template to have an additional method for checking if a plugin is an audio plugin (is_audio_plugin)
- Updated all plugins as per template changes
- Optimized all built-in plugins in one way or another (optimizing data usage, removing old code/imports)
- Added helper scripts to the youtube and sound_board plugins to simplify code
- Updated all plugins and scripts to use the GlobalMod mumble references
- Removed uptime plugin and moved it's features to the core bot script
- Removed uptime command from help plugin and moved it to bot_commands plugin help data
- Lots and lots of back-end changes that will be too much to list (check commits)
- Updated unit tests for v2.0.0
- Updated dependency requirements
- Added logging to more commands
- Fully documented the config template
- Moved bot version checking to GlobalMods instead of configs
- PEP Updates