Compare commits

...

2 Commits

Author SHA1 Message Date
gavin
30355db7ff
Merge f3fe2355ee into e079ffbda6 2024-11-17 22:45:59 +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')