feat(config): Detect unexpected config items from config files.

This commit is contained in:
Terry Geng
2022-01-21 23:58:49 -05:00
parent 9ba27207ea
commit 37666c7daf
6 changed files with 142 additions and 108 deletions

View File

@ -180,7 +180,7 @@ port = 64738
# [debug] stores some debug settings.
[debug]
#ffmpeg = False # Set ffmpeg to True if you want to display DEBUG level log of ffmpeg.
#mumbleConnection = False # Set to True if you need to debug mumble connection (pymumble lib)
#mumble_connection = False # Set to True if you need to debug mumble connection (pymumble lib)
#youtube_dl = False # Set to True if you need debug log from youtube-dl
# [radio] is a list of default radio stations.
@ -193,8 +193,8 @@ port = 64738
[youtube_dl]
# source_address , use '::' to force ipv6, "0.0.0.0" to force ipv4, or put the ip addresse you want to use.
# source_address = '::'
# cookiefile , path of the cookie file (usefull if you reach youtube limits https://github.com/ytdl-org/youtube-dl#http-error-429-too-many-requests-or-402-payment-required)
# cookiefile = '/tmp/cooke_ydl'
# cookie_file , path of the cookie file (usefull if you reach youtube limits https://github.com/ytdl-org/youtube-dl#http-error-429-too-many-requests-or-402-payment-required)
# cookie_file = '/tmp/cooke_ydl'
# user-agent allow the user to force the user-agent of youtube-dl
# user-agent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:87.0) Gecko/20100101 Firefox/87.0"