mediathekview / zapp

German public broadcasting live streams as an Android app
https://mediathekview.de/news/zapp/
MIT License
199 stars 33 forks source link

Waiting for download... #344

Open WebworkrNet opened 1 year ago

WebworkrNet commented 1 year ago

Samsung Galaxy A13 5G (SM-A136B) Android 12 ZAPP 8.0.0 (63)

Video files with status "Waiting for download...": Downloading does not start even if there is sufficient storage space and an online connection. If you delete the entry from the list of downloads and start the download again, it will begin.

WebworkrNet commented 1 year ago

Maybe related to #309.

cemrich commented 1 year ago

It may take a while (up to a couple of minutes) for the downloader to react to a changed connection status.

WebworkrNet commented 1 year ago

I have tested specifically. After more than 10 minutes, I stopped the test.

Is this dependent on the number of "open" downloads?

cemrich commented 1 year ago

Yes, it may be. The default executor does allow 2 to 4 parallel work pieces (downloads in Zapps case) - depending on the devices processor count. That's okay. It does not make a lot of sense to run 10 downloads in parallel.

Releated SO answer: https://stackoverflow.com/a/60306865/3012757

WebworkrNet commented 1 year ago

I notice a difference between younger and older waiting downloads. Younger ones regularly try to restart the download process.