mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-03-09 07:40:09 +00:00
Fixed filepath bug when embedding thumbnails
This commit is contained in:
@@ -224,4 +224,8 @@ class EmbedThumbnailPP(FFmpegPostProcessor):
|
|||||||
thumbnail_filename if converted or not self._already_have_thumbnail else None,
|
thumbnail_filename if converted or not self._already_have_thumbnail else None,
|
||||||
original_thumbnail if converted and not self._already_have_thumbnail else None,
|
original_thumbnail if converted and not self._already_have_thumbnail else None,
|
||||||
info=info)
|
info=info)
|
||||||
|
|
||||||
|
if not self._already_have_thumbnail:
|
||||||
|
del info['thumbnails'][idx]['filepath']
|
||||||
|
|
||||||
return [], info
|
return [], info
|
||||||
|
|||||||
Reference in New Issue
Block a user