1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-05-19 11:39:28 +00:00
This commit is contained in:
Deleted user 2024-02-21 09:40:12 -05:00 committed by GitHub
commit 6e301ad934
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -333,7 +333,7 @@ class FFmpegExtractAudioPP(FFmpegPostProcessor):
if (new_path == path
or (self._nopostoverwrites and os.path.exists(encodeFilename(new_path)))):
self._downloader.to_screen('[ffmpeg] Post-process file %s exists, skipping' % new_path)
return [], information
return [] if new_path == path else [path], information
try:
self._downloader.to_screen('[ffmpeg] Destination: ' + new_path)