diff options
author | pukkandan <pukkandan.ytdlp@gmail.com> | 2021-06-11 17:37:02 +0530 |
---|---|---|
committer | pukkandan <pukkandan.ytdlp@gmail.com> | 2021-06-11 19:13:24 +0530 |
commit | 8ba87148802843c6502f7ffc48e574a2eb0049d2 (patch) | |
tree | d0e7fe8162384799828a59b6c0a1e2b82c80c61e | |
parent | 187986a857993411fd31c4e017ea4fccccf343fa (diff) | |
download | hypervideo-pre-8ba87148802843c6502f7ffc48e574a2eb0049d2.tar.lz hypervideo-pre-8ba87148802843c6502f7ffc48e574a2eb0049d2.tar.xz hypervideo-pre-8ba87148802843c6502f7ffc48e574a2eb0049d2.zip |
[EmbedThumbnail] Fix for already downloaded thumbnail
-rw-r--r-- | yt_dlp/YoutubeDL.py | 1 | ||||
-rw-r--r-- | yt_dlp/options.py | 2 |
2 files changed, 2 insertions, 1 deletions
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: diff --git a/yt_dlp/options.py b/yt_dlp/options.py index 4d17356da..eb137ac47 100644 --- a/yt_dlp/options.py +++ b/yt_dlp/options.py @@ -1200,7 +1200,7 @@ def parseOpts(overrideArguments=None): postproc.add_option( '--embed-thumbnail', action='store_true', dest='embedthumbnail', default=False, - help='Embed thumbnail in the audio as cover art') + help='Embed thumbnail in the video/audio as cover art') postproc.add_option( '--no-embed-thumbnail', action='store_false', dest='embedthumbnail', |