1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-23 00:54:31 +01:00

[postprocessor/ffmpeg] Don't use '[youtube] ...' in messages

Because it can be used for other extractors.
This commit is contained in:
Jaime Marquínez Ferrándiz 2015-07-14 12:56:32 +02:00
parent 50aa2bb6b9
commit 9750e7d70e

View File

@ -265,7 +265,7 @@ class FFmpegExtractAudioPP(FFmpegPostProcessor):
# If we download foo.mp3 and convert it to... foo.mp3, then don't delete foo.mp3, silly. # If we download foo.mp3 and convert it to... foo.mp3, then don't delete foo.mp3, silly.
if (new_path == path or if (new_path == path or
(self._nopostoverwrites and os.path.exists(encodeFilename(new_path)))): (self._nopostoverwrites and os.path.exists(encodeFilename(new_path)))):
self._downloader.to_screen('[youtube] Post-process file %s exists, skipping' % new_path) self._downloader.to_screen('[ffmpeg] Post-process file %s exists, skipping' % new_path)
return [], information return [], information
try: try: