Page 1 of 1

Create iTunes playlist based on extended query

Posted: Sun May 29, 2011 1:17 am
by ErwinVJ
Hi all, I'm a coding and LiveCode beginner but I'm in need for a small app on my Mac that can build an iTunes playlist using a set of ID Tag queries. Sometimes I need to build purpose specific playlists without manual effort ... basically to check ambience, sound color, overall music vibe,... I have an extensive and extremely well organized library with full use of ID tags.

As an example, I'd like to build a playlist holding sounds that as from 2004 to 2007, bpm between 78 and 92, genre x and y, artist NOT a or b, ...

Can this be achieved with LiveCode? Can I did into the itunes xml and dig into the mp3 tags? Can I generate an iTunes compliant playlist xml?
Alternatively, is there a tool (on OSX) available for this?

thanks, Erwin

Re: Create iTunes playlist based on extended query

Posted: Sun Jun 05, 2011 1:54 am
by Mark
Erwin,

You may do this using AppleScript. LiveCode could be a front-end for your AppleScripts. I have no idea where to start. Use your fav search engine to look for iTunes scripting examples.

Kind regards,

Mark

Re: Create iTunes playlist based on extended query

Posted: Sun Jun 05, 2011 10:44 pm
by bn
Erwin,

have a look here:

http://revonline2.runrev.com/stack/230/ ... umentation

and here

http://revonline2.runrev.com/stack/231/ ... te-Library

Thomas McGrath made a very complete library to work with iTunes.

Kind regards

Bernd