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

@ -129,6 +129,14 @@ port = 64738
#user =
#password =
# Set this option to match mumble user with user on the webinterface
# It's working with an unique token an user can ask to the bot with token and to add music to the bot.
# It's also allow users to know who have add a music from the webinterface
# match_mumble_user = True
# To use token (need session) flask need a password to encrypt/sign cookies used. !! YOU NEED TO CHANGE IT IF PREVIOUS OPTION IS TRUE!!
# flask_secret = ChangeThisPassword
# [debug] stores some debug settings.
[debug]
# 'ffmpeg': Set ffmpeg to True if you want to display DEBUG level log of ffmpeg.
@ -137,10 +145,8 @@ port = 64738
# [radio] is a list of default radio stations.
[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
# List of radio you want to have by default
# one line by entrie
#jazz = http://jazz-wr04.ice.infomaniak.ch/jazz-wr04-128.mp3 "Jazz Yeah !"