I am adding metakit to zinf (a music player) to manage the music metadata. So far I have been very pleased, but I ran into something that I thought would be really simple, but can't find any docs or examples (I've looked through the mailing list too).
Sooo.. I have database with const char dbview[] = "dbview[url:S,type:I,artist:S,album:S,title:S, comment:S,genre:S,track:I,year:I,time:I,size:I, playcount:I,guid:S]"; and I want to extract tracks or playlist files. How? m_dbview = m_database->GetAs (dbview); c4_View vtitles = m_dbview.Select(m_pType[kTypeTrack]+m_pType[kTypePlaylist]); would appear to ask for things that are both a track *and* a playlist. What's the proper way to ask for a track *or* playlist? Also somewhere I saw that Find is faster than Select if you are just going to iterate through the selected view. Is this correct? Thx. -- email:[EMAIL PROTECTED] office:(805)893-4276 http://www.cs.ucsb.edu/~kris _______________________________________________ metakit mailing list - [EMAIL PROTECTED] http://www.equi4.com/mailman/listinfo/metakit
