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
libRevFreeDB
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 179
- Joined: Sat Apr 08, 2006 11:08 pm
- Location: London, UK
- Contact:
RE Post subject:
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
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
gmcrev
-
- Posts: 179
- Joined: Sat Apr 08, 2006 11:08 pm
- Location: London, UK
- Contact:
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
I need to see about getting around those, but it seems to be a limitation of the MCIsendString mechanism.
Best,
Mark