RE: Add Folder & Genre Navigation Items

"Kristian G. Kvilekval" <[email protected]>
Newsgroups gmane.comp.audio.zinf.devel
Message-ID <1059502156.20056.11.camel@merrimack>
On Tue, 2003-07-29 at 10:08, Luke Scott wrote:
> --Kristian Wrote-------------
> I'm thinking about making the tree list being able to expand any number
> of levels.    Each internal node would be an m3u node which could
> contain other m3u files or  songs at the
> leaf nodes.
> 
> Some m3us would be dynamic while others
> would be actual files stored somewhere.
> -------------------------------
> 
> beautiful.
> 
> using m3u files for each node would be perfect, because they can include
> other m3u's in their contents. I am wondering what the implications are for
> search capability, though. If we eventually want to do a keyword search from
> a given node, then would we trace that node down to the bottom-level .m3u's
> (which would by definition contain only songs), and do a text search on each
> of those? How efficient is that compared with an internalized database-style
> catalog?


The metadata database would still be there.  In fact, it would be an
integral part of generating dynamic m3u files.

For example, when the user clicks to expand "Artists", the database
would be consulted to find all the artists names.  These
would be returned as dynamic m3u files 
artist1.m3u, artist2.m3u

The only thing changing is the way the UI code interacts with the
database.  It's just more flexible.   Currently the number
of levels are fixed and there's tons of code do some special
things depending on whether you are looking at an artist node, or an
album node etc. Some of this would have to reworked.

Overall,  I think the dynamic m3u would reduce the code in the UI,
add a little code to the lazydb version of the musiccatalog and 
increase functionality.   More platform independent code and better
functionality is better.

Adding user search capability is quite doable.. 
Somebody needs to decide what sort of things
to search on and do the interface work.


-- 
email:[email protected] office:(805)893-4276 http://www.cs.ucsb.edu/~kris



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.