diff --git a/configuration.default.ini b/configuration.default.ini index 35e818d..b7b1614 100644 --- a/configuration.default.ini +++ b/configuration.default.ini @@ -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] diff --git a/configuration.example.ini b/configuration.example.ini index ae69011..ee87843 100644 --- a/configuration.example.ini +++ b/configuration.example.ini @@ -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] diff --git a/media/url.py b/media/url.py index 6d95059..ac45c0a 100644 --- a/media/url.py +++ b/media/url.py @@ -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: