-
-
Notifications
You must be signed in to change notification settings - Fork 80
Playback mode explained
After version 6 of botamusique, we added three playback modes to emulate the behavior of a classical music player. They are one-shot, repeat and random. The main difference between each mode is how the bot will behave when reaching the bottom of the playlist.
-
one-shot (default): Items on the playlist that have already played would be removed. If you skip songs or jump to an item after current songs, items you have skipped or jumped would be also removed. This is the behavior of the previous version (<5).
-
repeat: When reaching the end of the playlist, the bot will start over from the first item, i.e. looping through the entire playlist.
-
random: Once "random" mode is toggled, the playlist will be reshuffled. After that, every time the bot reaching the end of the playlist, it will reshuffle again.
You can change the playback mode by:
-
Through the web interface:
-
Send command to the bot: '!mode one-shot', '!mode repeat', or '!mode random'. This command will also write the mode you set into the database.
-
Set default playback mode in the configuration file:
[bot]
playback_mode = repeat
Note: playback mode set in the configuration file will be overridden by the mode set in the database.