Compare commits

...

2 Commits

Author SHA1 Message Date
gavin
dc1d98a253
Merge f3fe2355ee into 52c0ffe40a 2024-11-17 00:53: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

@ -676,7 +676,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')