"hmm why does iOS say that Finamp uses lots of battery when downloading songs"
"oh god why does the download plugin say 'open DB successfully' every time a download status is checked"
"hmm why does iOS say that Finamp uses lots of battery when downloading songs"
"oh god why does the download plugin say 'open DB successfully' every time a download status is checked"
This is from a function that is run on *every interaction* with the DB
It opens and closes the SQLite DB every time, so for each download this DB will be opened/closed 10+ times (download progress is written to the DB)