vipulyaara / Kafka

Read, play, and download millions of books; served by archive.org.
https://www.getkafka.app
GNU General Public License v3.0
296 stars 24 forks source link

Download errors #19

Open Destro9000 opened 5 months ago

Destro9000 commented 5 months ago

Hello developer, i have some problems when trying to download any file on kafka , it just keeps failing after 1 min or so , could you solve this problem ?

Destro9000 commented 5 months ago

Ok so , the download keeps going a bit and stops and everytime i have to reclick the download button. Another issue is that leaving the app stops it from downloading and this is annoying , if you could fix this thanks

vipulyaara commented 5 months ago

Thank you for filing the issue. Download speed is the only issue blocking us from reaching 1.0.0. The files are hosted on not-so-fast servers and that combined with the lack of advanced download frameworks in Android makes it a really hard problem. I tried different solutions but there was no significant improvement. I am still looking into it.

vipulyaara commented 5 months ago

One solution I am investigating now is FDM. It improves download speed multi-folds but doesn't provide an SDK. A quick solution can be to ask the user to install FDM and then deep link into their app but I don't think users would like that.

Destro9000 commented 5 months ago

@vipulyaara i understand , having to install another app just to download won't be appreciated ,especially by people with low memory in their phone

Destro9000 commented 5 months ago

If i have like 1DM does it work with the downloads? It should be a download manager

vipulyaara commented 5 months ago

The app doesn't support opening files downloaded externally so it would not show up in Kafka. We can implement that if we decide to support external downloaders but I am not yet sure that's the best way.

Destro9000 commented 5 months ago

Ok thank you for the info

dschwen commented 1 month ago

It would already help, if the app pressed the download button again for me if the download was interrupted and didn't reach 100%...

vipulyaara commented 1 month ago

It would already help, if the app pressed the download button again for me if the download was interrupted and didn't reach 100%...

Yes, retrying automatically (e.g. 3 times) is a good idea. I'll implement this.

vipulyaara commented 1 month ago

This is implemented. The downloader now retries failed downloads 3 times. It should be available in the next release. Download timeout is also extended from 3 minutes to 7 minutes.