excessive progress messages #21

Open
opened 2026-02-17 09:47:59 +01:00 by bassklampfe · 1 comment

When I download a file using acsmdownloader, I get excessive messages

Download 0% 
Download 0%
Download 0%
::: (repeated about 20 times)
Download 1%
::: (repeated about 20 times)
Download 2%
::: (repeated about 20 times)

Because I redirect to yad, the "\r" is without function and every line is shown.

I patched my version to give each percent only once. This also speeds up the download because less console interaction.
I don't want to create a pull request because I'm short of time, but maybe you will have a look at the patch?

When I download a file using acsmdownloader, I get excessive messages ``` Download 0% Download 0% Download 0% ::: (repeated about 20 times) Download 1% ::: (repeated about 20 times) Download 2% ::: (repeated about 20 times) ``` Because I redirect to [yad](https://github.com/v1cont/yad), the `"\r"` is without function and every line is shown. I patched my version to give each percent only once. This also speeds up the download because less console interaction. I don't want to create a pull request because I'm short of time, but maybe you will have a look at the patch?
Owner

Very good idea !
I created a branch (curl_display) with a proper patch.
Can you test it please ?

#22

Very good idea ! I created a branch (curl_display) with a proper patch. Can you test it please ? https://forge.soutade.fr/soutade/libgourou/pulls/22
Sign in to join this conversation.
No Label
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: soutade/libgourou#21
No description provided.