From 99aa6a20e3fcfd58a5a039c9bdd7b34a034ba1e9 Mon Sep 17 00:00:00 2001 From: Alexandre L Date: Mon, 29 Jan 2018 18:30:04 +0100 Subject: [PATCH] Forgotten {} --- youtube_dl/postprocessor/embedthumbnail.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/postprocessor/embedthumbnail.py b/youtube_dl/postprocessor/embedthumbnail.py index 3115a4fb0..aab7f1ffa 100644 --- a/youtube_dl/postprocessor/embedthumbnail.py +++ b/youtube_dl/postprocessor/embedthumbnail.py @@ -66,7 +66,7 @@ class EmbedThumbnailPP(FFmpegPostProcessor): '-attach', thumbnail_filename, # https://matroska.org/technical/cover_art/index.html as pointed in #6046 # No orientation detection nor dimensions checking/convertion - '-metadata:s:t', 'filename=cover_land.{}'.format(extension), + '-metadata:s:t', 'filename=cover_land.%s' % extension, # If not given : "[matroska @ 000001458de38840] Attachment stream 2 has no mimetype tag and it cannot be deduced from the codec id." '-metadata:s:t', 'mimetype=%s' % mimetype, # Use metadata "title" so it is set as MATROSKA_ID_FILEDESC - optional