1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-12-24 17:08:53 +00:00

Fixed embedding filepath issue for subs and infojson

This commit is contained in:
Kieran Eglin
2024-04-26 16:16:56 -07:00
parent 3046c17822
commit 6c8ede8188
3 changed files with 7 additions and 2 deletions

View File

@@ -226,6 +226,6 @@ class EmbedThumbnailPP(FFmpegPostProcessor):
info=info)
if not self._already_have_thumbnail:
del info['thumbnails'][idx]['filepath']
info['thumbnails'][idx].pop('filepath', None)
return [], info