1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-09-03 00:25:08 +00:00

Skip fixup of existing files and add --fixup force to force it

This commit is contained in:
pukkandan
2021-06-20 04:15:19 +05:30
parent fd7cfb6444
commit f89b3e2d7a
3 changed files with 8 additions and 4 deletions

View File

@ -665,7 +665,7 @@ class FFmpegFixupPostProcessor(FFmpegPostProcessor):
def _fixup(self, msg, filename, options):
temp_filename = prepend_extension(filename, 'temp')
self.to_screen('{msg} of "{filename}"')
self.to_screen(f'{msg} of "{filename}"')
self.run_ffmpeg(filename, temp_filename, options)
os.remove(encodeFilename(filename))