amugofjava / anytime_podcast_player

Simple, easy to use Podcast player app written in Flutter and Dart.
BSD 3-Clause "New" or "Revised" License
376 stars 99 forks source link

#94 Downloads failing immediately correctly update UI #104

Open Chralu opened 9 months ago

Chralu commented 9 months ago

Fixes #94

Add a Lock to DownloadService. This ensures that download status updates are not processed while a download start/stop is requested (they are processed right after).

amugofjava commented 9 months ago

Hi @Chralu,

Thanks for this pr. I think this gets us part of the way there, but I need to revisit this section as there are still problems - for example when in airplane mode. If you start a download, it appears to cancel, but when you return it is queued but never gets any further.

Screen_recording_20230929_181525.webm