Compare commits

...

2 Commits

Author SHA1 Message Date
gavin
3a6b0877fc
Merge f3fe2355ee into f9d98509a8 2024-11-17 20:50:56 +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')