feat: directory cache
This commit is contained in:
@ -61,6 +61,13 @@ announce_current_music = True
|
||||
allow_other_channel_message = False
|
||||
allow_private_message = True
|
||||
|
||||
# 'save_music_library': If this is set True, the bot will save the metadata of music into the database.
|
||||
save_music_library = True
|
||||
|
||||
# 'refresh_cache_on_startup': If this is set true, the bot will refresh its music directory cache when starting up.
|
||||
# But it won't reload metadata from each files. If set to False, it will used the cache last time.
|
||||
refresh_cache_on_startup = True
|
||||
|
||||
# If save_playlist is set True, the bot will save current
|
||||
# playlist before quitting and reload it the next time it start.
|
||||
save_playlist = True
|
||||
@ -159,6 +166,7 @@ ducking_threshold = duckthres
|
||||
ducking_volume = duckv
|
||||
|
||||
drop_database = dropdatabase
|
||||
recache = recache
|
||||
|
||||
[strings]
|
||||
current_volume = Current volume: {volume}.
|
||||
@ -178,19 +186,19 @@ bad_url = Bad URL requested.
|
||||
preconfigurated_radio = Preconfigurated Radio available:
|
||||
unable_download = Error while downloading music...
|
||||
which_command = Do you mean <br /> {commands}
|
||||
multiple_matches = Track not found! Possible candidates:
|
||||
multiple_matches = File not found! Possible candidates:
|
||||
queue_contents = Items on the playlist:
|
||||
queue_empty = Playlist is empty!
|
||||
invalid_index = Invalid index <i>{index}</i>. Use '!queue' to see your playlist.
|
||||
now_playing = Playing <br />{item}
|
||||
now_playing = Playing {item}
|
||||
radio = Radio
|
||||
file = File
|
||||
url_from_playlist = URL
|
||||
url = URL
|
||||
radio_item = <a href="{url}">{title}</a> <i>from</i> {name} <i>added by</i> {user}
|
||||
file_item = {artist} - {title} <i>added by</i> {user}
|
||||
url_from_playlist_item = <a href="{url}">{title}</a> <i>from playlist</i> <a href="{playlist_url}">{playlist}</a> <i>added by</i> {user}
|
||||
url_item = <a href="{url}">{title}</a> <i>added by</i> {user}
|
||||
radio_item = <a href="{url}"><b>{title}</b></a> <i>from</i> {name} <i>added by</i> {user}
|
||||
file_item = <b>{artist} - {title}</b> <i>added by</i> {user}
|
||||
url_from_playlist_item = <a href="{url}"><b>{title}</b></a> <i>from playlist</i> <a href="{playlist_url}">{playlist}</a> <i>added by</i> {user}
|
||||
url_item = <a href="{url}"><b>{title}</b></a> <i>added by</i> {user}
|
||||
not_in_my_channel = You're not in my channel, command refused!
|
||||
pm_not_allowed = Private message aren't allowed.
|
||||
too_long = {song} is too long, removed from playlist!
|
||||
@ -216,6 +224,7 @@ yt_result = Youtube query result: {result_table} Use <i>!ytplay</i> {{index}} to
|
||||
yt_no_more = No more results!
|
||||
yt_query_error = Unable to query youtube!
|
||||
playlist_fetching_failed = Unable to fetch the playlist!
|
||||
cache_refreshed = Cache refreshed!
|
||||
|
||||
help = <h3>Commands</h3>
|
||||
<b>Control</b>
|
||||
@ -266,7 +275,9 @@ admin_help = <h3>Admin command</h3>
|
||||
<li><b>!<u>useru</u>nban </b> {user} - unban a user</li>
|
||||
<li><b>!<u>urlb</u>an </b> {url} - ban an url</li>
|
||||
<li><b>!<u>urlu</u>nban </b> {url} - unban an url</li>
|
||||
<li><b>!dropdatabase</b> - clear the entire database, YOU SHOULD KNOW WHAT YOU ARE DOING.</li>
|
||||
<li><b>!<u>urlu</u>nban </b> {url} - unban an url</li>
|
||||
<li><b>!recache </b> {url} - rebuild local music file cache</li>
|
||||
<li><b>!dropdatabase</b> - clear the entire database, you will lose all settings and music library.</li>
|
||||
</ul>
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user