libRevFreeDB

Find out what's going on with LiveCode (the company), product releases, announcements, and events.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Mark Smith
Posts: 179
Joined: Sat Apr 08, 2006 11:08 pm
Location: London, UK
Contact:

libRevFreeDB

Post by Mark Smith » Fri Sep 25, 2009 2:06 am

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

gmccarthy
Posts: 62
Joined: Sat Feb 17, 2007 4:56 am
Location: Australia

RE Post subject:

Post by gmccarthy » Fri Sep 25, 2009 3:22 am

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
gmcrev

Mark Smith
Posts: 179
Joined: Sat Apr 08, 2006 11:08 pm
Location: London, UK
Contact:

Post by Mark Smith » Fri Sep 25, 2009 2:25 pm

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

Post Reply

Return to “Announcements”