acgonzales / pydeezer

A package to search and download musics on Deezer.
The Unlicense
52 stars 14 forks source link

Get download progress #13

Closed delrius-euphoria closed 3 years ago

delrius-euphoria commented 3 years ago

Is there any way to retrieve the downloaded chunk and total chunk size? To use for a tkinter progressbar.

acgonzales commented 3 years ago

You should extend the BaseProgressHandler and override the initialize, update and close method according to your liking.

Here are some sample classes extending the BaseProgressHandler:

delrius-euphoria commented 3 years ago

It seems with the GUI its quite not possible or so. But its fine, I will use the CLI for this purpose, the progressbar looks beautiful.