finamp
finamp copied to clipboard
[iOS] Playing big playlists is very sluggish
Opening and playing playlists that have a couple hundreds (around 400) is working fine. It gets very problematic when I try to play a playlist of mine that currently has 3602 tracks (mostly FLAC files). The app takes a very long time to queue the playlist, compared to for example the App Gelli on my OnePlus 5, which immediately plays the tracks. Finamp needs around 40 seconds to play the track after I pressed play/shuffle, skipping a track or playing the next track also takes around 30 seconds. While Finamp queues the tracks, it is also very unresponsive. Additionally the phone gets very warm quickly.
Devices I used to test this: iPhone 11 Pro Finamp 0.5.1
iPad (6th Gen) FInamp 0.5.1
At the moment, tracks are preprocessed (getting URL, creating queue etc) all at once before the playback actually starts. I think this is mostly an iOS issue, since it only takes me a few seconds to load 2500 random songs on Android.
That explains it and you are absolutely right about the Android App. It loaded the same playlist at around the same speed as Gelli does. Is the preprocessed method the only way for the iOS version?
@4EverChaos is this still an issue?
@4EverChaos is this still an issue?
Unfortunately it is yeah. With the latest version of the app it comparatively seems better than what I remember from in the past. But it is still very unusable for bigger playlists.
Would you mind giving the beta version a try? That should at least fix the skipping issues, and might also fix the playlist queuing...
I tested the latest TestFlight and it is for sure way more responsible than I have it in memory. (Has been a while since I used it) One of my biggest playlists takes around 23-27 seconds to shuffle. Which is around 7,8k tracks, back then it took minutes and was basically stuck. So that for sure is a huge improvement and makes the app more usable for my personal needs. Playlists with around 3,4K tracks play after like 4 seconds which is great. 1k track playlists after 2-4 seconds. Also the skipping of tracks is very stable and doesn’t cause another big waiting time, so that is nice. Noticed a behaviour that when I want to shuffle other playlists while the bigger ones are still queuing, the app gets stuck and ultimately it doesn’t play anything. Forcing me to force close the app.
Okay, thanks for the response! Could you share some info about your server and phone? I'm mainly interested in how fast they are, because the bottleneck is probably fetching thousands of tracks from the server, and then processing the response...
My Jellyfin server gets 4 cores of a i7-4770K and 3 GB RAM. The phone is a iPhone 15 Pro Max. I know that the server runs on older hardware, but I doubt that that is the problem, because my older Android smartphone (OnePlus 5) performs quicker on the current public app version. Just tried it again.
Okay yeah, for some reason iOS consistently performs worse than Android for Finamp/Flutter. Others have also reported this for other scenarios. If your OnePlus 5 performs better than your iPhone 15 Pro Max, with the same (relatively fast) server, I think that's very telling.
My old phone is also a OnePlus 5, and compared to my new Zenfone 10, it's much slower.
My guess would be that the Flutter compiler for iOS is less optimized or something like that. But I don't think there's anything we can do about it, at least I don't know how.
It could be the audio plugin being slower to queue stuff on iOS, but that's just a guess
Well at least it performs better than years ago.