Add youtube-dl verbose log option
This commit is contained in:
parent
7a6cdef65d
commit
582b0b58da
@ -114,6 +114,7 @@ max_upload_file_size = 30M
|
||||
ffmpeg = False
|
||||
redirect_ffmpeg_log = True
|
||||
mumbleConnection = False
|
||||
youtube_dl = False
|
||||
|
||||
# This is a list of default radio stations.
|
||||
[radio]
|
||||
|
@ -158,9 +158,9 @@ port = 64738
|
||||
|
||||
# [debug] stores some debug settings.
|
||||
[debug]
|
||||
# 'ffmpeg': Set ffmpeg to True if you want to display DEBUG level log of ffmpeg.
|
||||
#ffmpeg = False
|
||||
#mumbleConnection = False
|
||||
#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)
|
||||
#youtube_dl = False # Set to True if you need debug log from youtube-dl
|
||||
|
||||
# [radio] is a list of default radio stations.
|
||||
[radio]
|
||||
|
@ -166,7 +166,8 @@ class URLItem(BaseItem):
|
||||
'outtmpl': base_path,
|
||||
'noplaylist': True,
|
||||
'writethumbnail': True,
|
||||
'updatetime': False
|
||||
'updatetime': False,
|
||||
'verbose': var.config.getboolean('debug', 'youtube_dl')
|
||||
}
|
||||
|
||||
with youtube_dl.YoutubeDL(ydl_opts) as ydl:
|
||||
|
Loading…
x
Reference in New Issue
Block a user