chrismiceli / daap-client

Automatically exported from code.google.com/p/daap-client
10 stars 5 forks source link

Cache music library #61

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open daap-client and try to connect to a server that has lots of songs (ex: 
25 000)

What is the expected output? What do you see instead?

It should takes some time to load, as it does with iTunes clients, but as long 
as this? It sometimes take like almost 5 minutes.

What version of the product are you using? On what operating system?

.9.5.5

Please provide any additional information below.

An idea would be to use some cache of the library to speed up loading. Take a 
look at this other daap client 
(https://market.android.com/details?id=com.afqa123.shareplay). Even the first 
loading of the library is relatively fast, and subsequent loading is 
instantaneous.

Original issue reported on code.google.com by baril...@gmail.com on 31 Aug 2011 at 7:42

GoogleCodeExporter commented 9 years ago
Oh, my, so this is what's happening.  I was about to file a bug report 
complaining that my daap-client can't connect to any DAAP server (I tried 
forked-daapd, mt-daapd, and Rhythmbox), but now I see that what's happening is 
that it simply takes forever to connect.  My 9K songs library is large enough 
to suffer from this problem.  The worst part is that it hangs in the 
"connecting" part, which I wouldn't expect to depend on the size of the 
library.  After all, it only shows me a single "all songs/library" choice after 
that and when I select "library" it then sits there again, this time warning me 
that it's fetching the list of songs (which I do expect to take a little while, 
tho it's longer than I'd like).

This is a very serious problem for me, because it makes starting the 
application extremely slow, with several steps, each one separate by long wait 
times.

Original comment by monn...@iro.umontreal.ca on 11 Jan 2013 at 7:37

GoogleCodeExporter commented 9 years ago
Hey,
Unfortunately, there's not much we can do in this regard.  The first connecting 
shouldn't take too long.  The second one, there is no way to speed it up the 
way the DAAP protocol was designed.  Even if you want a specific playlist, you 
have to download information about every song.  Do you have a decent local 
connection?  Do you have another DAAP client and if so, is that one slow?

Original comment by michael.miceli88@gmail.com on 11 Jan 2013 at 7:57