ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Cleaning iTunes
Subject:   getting cd track names?
Date:   2003-01-20 15:01:01
From:   brian_d_foy
Response to: getting cd track names?

Inserting the CD and retrieving the track information is pretty easy already, although you can get hung up if the CDDB returns more than one match.


Once you see the CD in iTunes (not importing it, just playing), you should be able to go through the tracks and grab the information that you need. You could use AppleScript or Perl's Mac::iTunes.
Once you can access the playlist, just dump the information to a tab-delimited file (since most things can read tab delimited text easily).


Once you have that file, you can use Filemaker's "File>Import...", or mysqlimport. I am not sure about the database facilities in AppleSccript, but you could leave off the intermediate file with Perl and connect directly to mysql (or most other databases).


All you have to do is turn that description into a script of some sort. Good luck!


1 to 1 of 1
  1. getting cd track names?
    2003-01-26 05:35:08  anonymous2 [View]

    • getting cd track names?
      2008-07-04 14:16:26  slates01 [View]

1 to 1 of 1