X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=youtube_dl%2Fdownloader%2Fhls.py;h=fa983462babeb6a6bccc2f22992411dd6aea8a5b;hb=abb82f1ddc1386c3d259b10060cf97a6fdfc78ec;hp=51e8c4778d47792e61a1bd3a11ab43dc2b237d63;hpb=9fc3bef87a1009eb48f2012f3eab65761a53ba5e;p=youtube-dl diff --git a/youtube_dl/downloader/hls.py b/youtube_dl/downloader/hls.py index 51e8c4778..fa983462b 100644 --- a/youtube_dl/downloader/hls.py +++ b/youtube_dl/downloader/hls.py @@ -29,7 +29,7 @@ class HlsFD(FileDownloader): retval = subprocess.call(cmd) if retval == 0: fsize = os.path.getsize(encodeFilename(tmpfilename)) - self.to_screen(u'\r[%s] %s bytes' % (args[0], fsize)) + self.to_screen(u'\r[%s] %s bytes' % (cmd[0], fsize)) self.try_rename(tmpfilename, filename) self._hook_progress({ 'downloaded_bytes': fsize,