[YoutubeDL] Use a progress hook for progress reporting
authorPhilipp Hagemeister <phihag@phihag.de>
Tue, 17 Feb 2015 20:37:48 +0000 (21:37 +0100)
committerPhilipp Hagemeister <phihag@phihag.de>
Tue, 17 Feb 2015 20:40:35 +0000 (21:40 +0100)
commit5cda4eda7253d766611363a880af46895c11ad17
tree44bfa0631e6286828fda26eb934df80057bffe35
parent98f000409f072e544d6c3b07809022f703b8b23d
[YoutubeDL] Use a progress hook for progress reporting

Instead of every downloader calling two helper functions, let our progress report be an ordinary progress hook like everyone else's.
Closes #4875.
youtube_dl/YoutubeDL.py
youtube_dl/downloader/common.py
youtube_dl/downloader/f4m.py
youtube_dl/downloader/http.py
youtube_dl/downloader/rtmp.py