by kdid » Thu Mar 05, 2009 10:26 pm
Using your excellent software I just discovered a related problem. If you have multiple music folders for Subsonic and you switch between them using the dropdown box at the top of the artist list, then it looks like Subsonic will generate a new artist list from scratch. When doing that it also looks like it is accessing the file structure on disk instead of using a internal cache for the artists that is in each list.
Normally this is not a big problem, it is noticable, but only barely.
But if you have the files on a different machine, so that it need to access the filestructure over the local network, then going between folders in the said dropdown list becomes painfully slow.
I have a setup at home now with Subsonic on one PC and all the music files is on that same PC. Going between music folders there is quite snappy.
In addition I installed Subsonic on a different PC. This PC is accessing the music files over the local network at the machine mentioned above. Going between music folders on this machine is painfully slow. To get up the full artist list takes over a minute. And if you pick another folder in the dropdown list, it takes less time since there is less folders to scan. But if you again go back to the full artist list, then it again takes a long time. When I tested it now it did it in 45 seconds.
The important part here is that each of these folders should had a cached list of artists, and that the cache should had been made when Subsonic did start and then should had been maintained as you describe above throught timestamp notification.
Without a fix for this, you will have serious problems by having the music files on a NAS and running Subsonic on a different machine.
I will send you a PM with login info on my two instances of Subsonic so that you can get a feel of what I'm talk about.
EDIT. But a good workaround for me for now is to keep the music on the same machine as Subsonic. This time I was merely testing how such a setup would work.
As always, I'm greateful for the effort you put into Subsonic. Keep up the good work.
-- kdid