Explorar o código

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

Because it can be used for other extractors.
Jaime Marquínez Ferrándiz %!s(int64=10) %!d(string=hai) anos
pai
achega
9750e7d70e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      youtube_dl/postprocessor/ffmpeg.py

+ 1 - 1
youtube_dl/postprocessor/ffmpeg.py

@@ -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 (new_path == path or
                 (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
 
         try: