Create iTunes playlist based on extended query

Visuals, audio, animation. Blended, not stirred. If LiveCode is part of your rich media production toolbox, this is the forum for you.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
ErwinVJ
Posts: 6
Joined: Sun May 29, 2011 1:05 am

Create iTunes playlist based on extended query

Post by ErwinVJ » Sun May 29, 2011 1:17 am

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

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: Create iTunes playlist based on extended query

Post by Mark » Sun Jun 05, 2011 1:54 am

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
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 4166
Joined: Sun Jan 07, 2007 9:12 pm

Re: Create iTunes playlist based on extended query

Post by bn » Sun Jun 05, 2011 10:44 pm

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

Post Reply