From 25925fd759e2940a0dbc065554f96cdf805a4a01 Mon Sep 17 00:00:00 2001 From: MrDoritos Date: Sun, 22 Nov 2020 21:10:03 -0500 Subject: [PATCH] Add WEBM to supported containers --- 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 4a0d02fc4..a80b145dd 100644 --- a/youtube_dl/postprocessor/embedthumbnail.py +++ b/youtube_dl/postprocessor/embedthumbnail.py @@ -88,7 +88,7 @@ class EmbedThumbnailPP(FFmpegPostProcessor): os.remove(encodeFilename(filename)) os.rename(encodeFilename(temp_filename), encodeFilename(filename)) - elif info['ext'] == 'mkv': + elif info['ext'] in ['mkv', 'webm']: os.rename(encodeFilename(thumbnail_filename), encodeFilename('cover.jpg')) old_thumbnail_filename = thumbnail_filename thumbnail_filename = 'cover.jpg'