From e27932d61fbff6ea018e6e6403dc19c210bb9aeb Mon Sep 17 00:00:00 2001 From: Max Nordlund Date: Fri, 5 Aug 2016 20:33:09 +0200 Subject: [PATCH] Change the mkv warning into an info Because there are so many issues with this warning, and that it works just fine, this turns the warning about merging into an mkv to an informational message. It is also about not crying wolf when there is nothing to worry about. --- youtube_dl/YoutubeDL.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/youtube_dl/YoutubeDL.py b/youtube_dl/YoutubeDL.py index 6551f086f..c25353eaf 100755 --- a/youtube_dl/YoutubeDL.py +++ b/youtube_dl/YoutubeDL.py @@ -1659,8 +1659,8 @@ class YoutubeDL(object): requested_formats = info_dict['requested_formats'] if self.params.get('merge_output_format') is None and not compatible_formats(requested_formats): info_dict['ext'] = 'mkv' - self.report_warning( - 'Requested formats are incompatible for merge and will be merged into mkv.') + self.to_screen( + '[info] Requested formats are incompatible for merge and will be merged into mkv.') # Ensure filename always has a correct extension for successful merge filename = '%s.%s' % (filename_wo_ext, info_dict['ext']) if os.path.exists(encodeFilename(filename)):