Page 1 of 1

libRevFreeDB

Posted: Fri Sep 25, 2009 2:06 am
by Mark Smith
I've made a library to get CD track data from FreeDB. It currently uses the pList that OS X builds for each inserted CD to get the info it needs to query FreeDB, so it's OS X only until I figure out how to get the info on Windows and Linux.

It's here:

http://maspub.s3.amazonaws.com/libRevFreeDb.zip

It comes with a little demo stack and some notes in a pdf.

As always, any comments or queries happily recieved.

Best,

Mark Smith

RE Post subject:

Posted: Fri Sep 25, 2009 3:22 am
by gmccarthy
Hi Mark
Impressive.

The Choose CD button on the library stack has a script error: printArray is missing. Should it look call showArray as below?

function printArray pArray, pLevel
return showArray(pArray, pLevel)
end printArray

Posted: Fri Sep 25, 2009 2:25 pm
by Mark Smith
You're quite right - I've actually just uploaded a new version (1.0.1b) in which this is fixed, but more importantly, it now works on Windows with the limitation that it can only see CDs in drive D, and can't cope with "mixed mode" CDs that have non-audio content.

I need to see about getting around those, but it seems to be a limitation of the MCIsendString mechanism.

Best,

Mark