Make the downloader print the name of the destination file
authorRicardo Garcia <sarbalap+freshmeat@gmail.com>
Tue, 22 Jul 2008 13:53:22 +0000 (15:53 +0200)
committerRicardo Garcia <devnull@localhost>
Tue, 22 Jul 2008 13:53:22 +0000 (15:53 +0200)
youtube-dl

index f3239781b88c8d3f8e57c0a9661ac987da8eb4ca..0e56162206b3e793f53010b22a480d70494ba2b7 100755 (executable)
@@ -228,6 +228,7 @@ class FileDownloader(object):
 
                                        try:
                                                filename = self._params['outtmpl'] % result
+                                               self.to_stdout('[download] Destination: %s' % filename)
                                        except (ValueError, KeyError), err:
                                                retcode = self.trouble('ERROR: invalid output template: %s' % str(err))
                                                continue