On Mon, Apr 5, 2010 at 11:51 PM, Jürgen Hötzel <[email protected]> wrote: > LXMusic is a async. XMMS2 Client. > > On start up, when playlist content is received, LXMusic requests info > about each track via "xmmsc_medialib_get_info".
You should probably lazy-load the metadata. So that you have a queue of unresolved metadata, where all visible entries get precedence and will resolve earlier than the rest. You could also move up precedence for those just outside the visible area too so that when you start scrolling the first time, the data will already be there. > First of all this implies a lot if IPC Traffic (one round-trip for > each track). Is there any way to do "bulk loading"? Yes, coll_query_infos is one alternative here. Just throw in the active playlist as a collection ref and what fields you're interested in. > But the real bottleneck is the server-side sqlite3 backend. You could start experimenting with S4. It looks like it will be our db backend after Google Summer of Code. git://git.xmms.se/xmms2/xmms2-cippo.git in the s4-sane branch. Note that this is experimental code for now. -- Daniel Svensson -- _______________________________________________ Xmms2-devel mailing list [email protected] http://lists.xmms.se/cgi-bin/mailman/listinfo/xmms2-devel
