finamp
finamp copied to clipboard
FlutterDownloader seems to ignore concurrency limits
I just recently installed Finamp on my phone (iOS 15.4.1) and went to go download a bunch of albums. Maybe I'm misreading the download status indicator, but it appeared that FlutterDownloader consistently launched about 100 or so concurrent downloads at any given point in the process (rather than the configured FDMaximumConcurrentTasks value of 4) resulting in a ~50% download failure rate. I suspect the likely solution to this issue is simply #213 as from what I can tell this is the fault of flutter_downloader, but I felt it was still worth reporting as a potential concern for download management.
Here's a relevant screenshot. The number of failed downloads was originally 178 or so but I've since been chipping away at them by restarting the downloads on individual albums.
Yeah this is tracked at https://github.com/fluttercommunity/flutter_downloader/issues/332 (there are probably duplicates too), but for Finamp I'll probably have the new download package done before that gets fixed. I think flutter_downloader is working on a 2.0, but it doesn't really fix what I need and development seems slow (or even abandoned if you look at the issues - I don't blame them though since some of those issues are especially low quality)
This personally isn't happening for me, I probably moved onto a patched version of flutter_downloader at some point