Compare commits

...

2 Commits

Author SHA1 Message Date
gavin
4671a56437
Merge f3fe2355ee into 6365e92589 2024-11-16 17:57:18 +01:00
7x11x13
f3fe2355ee Don't attempt to copy cover art for .opus and .wav files 2024-11-09 20:43:25 -05:00

View File

@ -677,7 +677,7 @@ class FFmpegMetadataPP(FFmpegPostProcessor):
@staticmethod
def _options(target_ext):
audio_only = target_ext == 'm4a'
audio_only = target_ext in ('opus', 'wav')
yield from FFmpegPostProcessor.stream_copy_opts(not audio_only)
if audio_only:
yield from ('-vn', '-acodec', 'copy')