]> git.0d.be Git - botaradio.git/commitdiff
chore: config file.
authorTerry Geng <gengyanda@gmail.com>
Fri, 6 Mar 2020 09:13:45 +0000 (17:13 +0800)
committerTerry Geng <gengyanda@gmail.com>
Fri, 6 Mar 2020 09:13:45 +0000 (17:13 +0800)
configuration.default.ini
configuration.example.ini

index f642005c36990dcad3d77c36b8e4b0c4c89dda2a..1d102eca1f0e0a0c328eaca3625b51dab06b41c3 100644 (file)
@@ -31,7 +31,7 @@ username = botamusique
 comment = Hi, I'm here to play radio, local music or youtube/soundcloud music. Have fun!
 # default volume from 0 to 1.
 volume = 0.1
-# playback mode should be one of "one-shot", "loop", "random"
+# playback mode should be one of "one-shot", "loop", "random", "autoplay"
 playback_mode = one-shot
 
 # target version, stable or testing (testing need to bot installed with git)
@@ -227,7 +227,8 @@ help = <h3>Commands</h3>
        <li> <b>!<u>la</u>st </b> - jump to the last song </li>
        <li> <b>!<u>v</u>olume </b> {volume} - get or change the volume (from 0 to 100) </li>
        <li> <b>!<u>m</u>ode </b> [{mode}] - get or set the playback mode, {mode} should be one of <i>one-shot</i> (remove
-       item once played), <i>repeat</i> (looping through the playlist), <i>random</i> (randomize the playlist)</li>
+       item once played), <i>repeat</i> (looping through the playlist), <i>random</i> (randomize the playlist),
+       <i>autoplay</i> (randomly grab something from the music library).</li>
        <li> <b>!duck </b> on/off - enable or disable ducking function </li>
        <li> <b>!duckv </b> - set the volume of the bot when ducking is activated </li>
        <li> <b>!<u>duckt</u>hres </b> - set the threshold of volume to activate ducking (3000 by default) </li>
index 608ce2ba8d8f9b9dbe1232ab9b86792653318527..edccee7c01a256a800473d103f098ec267dd0201 100644 (file)
@@ -30,7 +30,7 @@ port = 64738
 
 # 'playback_mode' defined the playback mode of the bot.
 # it should be one of "one-shot" (remove item once played), "repeat" (looping through the playlist),
-# or "random" (randomize the playlist).
+# or "random" (randomize the playlist), "autoplay" (randomly grab something from the music library).
 # This option will be overridden by value in the database.
 #playback_mode = one-shot
 
@@ -71,8 +71,11 @@ port = 64738
 #allow_other_channel_message = False
 #allow_private_message = True
 
-# 'save_playlist': If save_playlist is set True, the bot will save current
-# playlist before quitting and reload it the next time it start.
+# 'save_music_library': If this is set True, the bot will save the metadata of music into the database.
+#save_music_library = True
+
+# 'save_playlist': If save_playlist is set True, the bot will save current playlist before quitting
+# and reload it the next time it start. It requires save_music_library to be True to function.
 #save_playlist = True
 
 # 'max_track_playlist': Maximum track played when a playlist is added.