add webinterface token

#154
This commit is contained in:
Azlux
2020-05-17 20:28:27 +02:00
parent 1d97fe654e
commit 4017e7bff0
5 changed files with 73 additions and 9 deletions

View File

@ -101,6 +101,10 @@ require_auth = False
user =
password =
# Set this option to match mumble user with token on flask and add a password to encrypt/sign cookies
flask_secret = ChangeThisPassword
match_mumble_user = False
[debug]
# Set ffmpeg to True if you want to display DEBUG level log of ffmpeg.
ffmpeg = False
@ -111,8 +115,7 @@ mumbleConnection = False
[radio]
ponyville = http://192.99.131.205:8000/stream.mp3 "Here a command of !radio comment"
luna = http://radio.ponyvillelive.com:8002/stream "calm and orchestra music"
radiobrony = http://62.210.138.34:8000/live "Borny music of a friend"
celestiaradio = http://celestia.aiverse.org:8000/mp3_256
radiobrony = http://62.210.138.34:8000/live "Brony music of a friend"
jazz = http://jazz-wr04.ice.infomaniak.ch/jazz-wr04-128.mp3 "Jazz Yeah !"
@ -183,6 +186,8 @@ ducking_volume = duckv
drop_database = dropdatabase
rescan = rescan
requests_webinterface_access = web
[strings]
current_volume = Current volume: {volume}.
current_ducking_volume = Volume on ducking: {volume}.
@ -254,6 +259,7 @@ cleared_tags = Removed all tags from <b>{song}</b>.
cleared_tags_from_all = Removed all tags from songs on the playlist.
shortlist_instruction = Use <i>!sl {indexes}</i> to play the item you want.
auto_paused = Use <i>!play</i> to resume music!
webpage_token= Your token to access the Bot webpage is {token}, short <a href="YOUR_URL_HERE?token={token}">URL</a>
help = <h3>Commands</h3>
<b>Control</b>