Linked by Thom Holwerda on Wed 8th May 2013 14:22 UTC
BeOS & Derivatives This is one of those news items that's fun to write, fun to read, fun to comment on, and where no one will be able to say anything unkind. It's all just one big ball of awesome fluffiness. TuneTracker, the BeOS radio automation software, has just released something very special: TuneTracker System 5, the first version designed entirely and specifically for Haiku. In fact, it actually includes Haiku in the software package. Better yet, TuneTracker also unveiled several system-in-a-box products - which have Haiku and TuneTracker pre-installed.
Permalink for comment 561021
To read all comments associated with this story, please click here.
RE[3]: Comment by BBAP
by henderson101 on Thu 9th May 2013 09:15 UTC in reply to "RE[2]: Comment by BBAP"
Member since:

1) can you easily and *efficiently* do a query on metadata? e.g. SELECT AUTHOR, FILENAME FROM /home/user/mp3/ WHERE TITLE LIKE '%RED%'; ?

Yes, but the query language is not SQL. Have a look at this article on Ars:

2) would that query result be cached by the file system cache or would you want to traverse the whole library? Would you need to write your own cache mechanism? Would you want to preserve the state of the cache between runs?

Yes, you can save queries. I used to have 4 or 5 queries saved to filter for specific file types or email status. They are known as "live queries" and Tracker displays them like a folder (as an example) when opened. AFAIR, one can do similar with the low level API. But because Attributes are indexed, running the query again is not as intensive as say, using the find file dialogue in Windows XP.

3) Do all copy methods ensure file attributes are preserved? I would think that cp works differently than a copy routine coded in an application and, say, something along sendfile(). That opens the risk of losing precious meta data.

The meta data is preserved. The metadata is stored on an inode level. Read this book for more info:

Not to mention confining yourself to one file system.

Haiku only boots from one file system, so there's no actual issue here really, is there?

Reply Parent Score: 3