Fixed filepath bug when embedding thumbnails

pull/9774/head
Kieran Eglin 2024-04-26 15:51:37 -07:00
rodzic dd986a4149
commit 3046c17822
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 193984967FCF432D
1 zmienionych plików z 4 dodań i 0 usunięć

Wyświetl plik

@ -224,4 +224,8 @@ class EmbedThumbnailPP(FFmpegPostProcessor):
thumbnail_filename if converted or not self._already_have_thumbnail else None,
original_thumbnail if converted and not self._already_have_thumbnail else None,
info=info)
if not self._already_have_thumbnail:
del info['thumbnails'][idx]['filepath']
return [], info