feat: Whitelist URL feature.
In the configuration, `max_duration` can be set to prevent long song(URL item) being downloaded and added to the playlist. This whitelist feature provided a way to override this duration check: songs being whitelisted will be added to the playlist no matter how long they are. Three admin commands are introduced: - !urlwhitelist (!urlw) - !urlunwhitelist, (!urlunw) - !urlwhitelistlist, (!urlwls). Also, if one song fails due to its length, the bot will show the length of this song and the max length limit in the reply message. Implement #173, #196.
This commit is contained in:
@ -53,21 +53,21 @@
|
||||
"rb_play_empty": "ラジオIDを提供してください。",
|
||||
"rb_query_result": "検索の結果(<i> !rbplay {ID} </i>を送信して再生する)",
|
||||
"records_omitted": "…",
|
||||
"removed_tags": "もう<b>{song}</b>からタグ「 <i>{tags}</i>」を削除しました。",
|
||||
"removed_tags_from_all": "もう再生リストの全ての曲にタグ「<i>{tags}</i> 」を削除しました。",
|
||||
"removing_item": "もう再生リストに「{item}」を削除しました。",
|
||||
"removed_tags": "<b>{song}</b>からタグ「 <i>{tags}</i>」を削除しました。",
|
||||
"removed_tags_from_all": "再生リストの全ての曲にタグ「<i>{tags}</i> 」を削除しました。",
|
||||
"removing_item": "再生リストに「{item}」を削除しました。",
|
||||
"repeat": "「{song}」を{n}回リピートするになります。",
|
||||
"report_version": "現在のbotamusiqueバージョンは<b>{version}</b>です。",
|
||||
"shortlist_instruction": "<i>!sl {indexes}</i>を使ってこのリストの曲を再生する。",
|
||||
"start_updating": "更新しています…",
|
||||
"stopped": "再生停止。",
|
||||
"too_long": "「{song}」が長さ制限を超えました。削除されました。",
|
||||
"too_long": "「{song}」が長さ制限を超えました({duration} > {max_duration})。削除されました。",
|
||||
"unable_download": "「{item}」がダウンロードできません。削除されました。",
|
||||
"unable_play": "「{item}」が再生できません。削除されました。",
|
||||
"unknown_mode": "不正な再生モード「{mode}」。 <i>one-shot</i>, <i>repeat</i>, <i>random</i>, <i>autoplay</i>の中の一つを使ってください。",
|
||||
"update_successful": "<h2>botamusique v{version} インストール完成!</h2><hr />\n<h3>更新履歴</h3> {changelog} <hr /> このプロジェクトの <a href=\"https://github.com/azlux/botamusique\">githubページ</a> をご覧ください!",
|
||||
"url": "URL",
|
||||
"url_ban": "このURLが禁止されています。",
|
||||
"url_ban": "URL {url} が禁止されています。",
|
||||
"url_from_playlist": "URL",
|
||||
"url_from_playlist_item": "<a href=\"{url}\"><b>{title}</b></a>、(<a href=\"{playlist_url}\">{playlist}</a>から)、 <i>{user} </i>に追加されました。",
|
||||
"url_item": "<a href=\"{url}\"><b>{title}</b></a>,<i> {user} </i>に追加されました。",
|
||||
|
Reference in New Issue
Block a user