Start playing of a playlist with large number of files is extremely slow #2573
Replies: 7 comments
-
Speed with large playlists does depend on the resources available on the host that the server is running on |
Beta Was this translation helpful? Give feedback.
-
I know it but I don't understand:
|
Beta Was this translation helpful? Give feedback.
-
Just an update: |
Beta Was this translation helpful? Give feedback.
-
This is by design - the playlists needs to be loaded once before its cached. |
Beta Was this translation helpful? Give feedback.
-
Moved to feature request |
Beta Was this translation helpful? Give feedback.
-
Hi Everyone, A workaround is to use "500 random tracks from libraby" whith a correct loading. |
Beta Was this translation helpful? Give feedback.
-
I am closing this. MA will continue to be optimised however there are hardware resource limitations that will have a greater impact on responsiveness than the software. The docs advise to keep the queue to one thousand tracks or less. If you have a a powerful host then you will be able to go higher than this recommendation. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
What version of Music Assistant has the issue?
2.1.0b6
What version of the Home Assistant Integration have you got installed?
2024.6.2
Have you tried everything in the Troubleshooting FAQ and reviewed the Open and Closed Issues and Discussions to resolve this yourself?
The problem
When a playlist with many songs inside (let's say 500 or many) is played (filesystem provider), it takes minutes to start playing.
Also when trying to play such playlist from home assistant browse media interface is not possible because it stucks with the loading symbol.
The only one way to start playing (delayed by minutes as said before) is from the MA web UI without going inside the playlist.
How to reproduce
Click play on a playlist which has a couple of hunders of file (500/1000)
Music Providers
File system (local disk)
Player Providers
Chromecast
Full log output
No response
Additional information
I don't know how it works but I assume it should work like this:
also if this can be slow, I think it should start playing the first song and then keep searching/loading the next song info and so on but It seems it has to fetch all the songs information before start playing the first song and again I can't figure out why this operation shuold be so slow (hope it has not to fetch all the covers before start playing...).
What version of Home Assistant Core are your running
2024.6.3
What type of installation are you running?
Home Assistant Container
On what type of hardware are you running?
Generic x86-64 (e.g. Intel NUC)
Beta Was this translation helpful? Give feedback.
All reactions