Add youtube-dl verbose log option

This commit is contained in:
Azlux
2021-04-03 13:11:54 +02:00
parent 7a6cdef65d
commit 582b0b58da
3 changed files with 6 additions and 4 deletions

View File

@ -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: