From 8ba87148802843c6502f7ffc48e574a2eb0049d2 Mon Sep 17 00:00:00 2001 From: pukkandan Date: Fri, 11 Jun 2021 17:37:02 +0530 Subject: [EmbedThumbnail] Fix for already downloaded thumbnail --- yt_dlp/YoutubeDL.py | 1 + 1 file changed, 1 insertion(+) (limited to 'yt_dlp/YoutubeDL.py') diff --git a/yt_dlp/YoutubeDL.py b/yt_dlp/YoutubeDL.py index c7d6c34f0..5532ea76c 100644 --- a/yt_dlp/YoutubeDL.py +++ b/yt_dlp/YoutubeDL.py @@ -3247,6 +3247,7 @@ class YoutubeDL(object): if not self.params.get('overwrites', True) and os.path.exists(encodeFilename(thumb_filename)): ret.append(suffix + thumb_ext) + t['filepath'] = thumb_filename self.to_screen('[%s] %s: Thumbnail %sis already present' % (info_dict['extractor'], info_dict['id'], thumb_display_id)) else: -- cgit v1.2.3