2 Replies Latest reply on Mar 17, 2012 8:02 AM by DaLe Zki

    iTunes xml file search/ access {on user's computer} ~ step 1

    DaLe Zki Level 1

      Building a RichMediaAnnotaion (RMA) JukeBox.

      This will be hosted in a PDF.

       

      Tools: Flash CS5.5 & Acrobat X Pro

       

      The Juke Box will read the User's iTunes Library.xml file

      (once JavaScript affirms it is present, i.e. User uses iTunes).

       

      Of many steps, I am researching a JavaScript to locate (gain access) to

      said iTunes Library.xml files (both PC / MAC).

       

      In this file-search objective the four (4) locations are known; iTunes Library.xml (see below).

       

      Thanks in advance for your help...

       

      This is Step 1... the current goal;

      How to construct a full script to address all known locations (4).

       

      1) enable search when PDF page is entered

      2) search for the appropriate iTunes Library.xml file

      3) if found pass path to "JukeBox" script (in development, future Step)

      4) else... stop

       

      iTunes Library.xml locations;

       

      Mac OS X:     /Users/username/Music/iTunes/iTunes Library.xml

      Windows XP     \Documents and Settings\username\My Documents\My Music\iTunes\iTunes Library.xml

      Windows Vista     \Users\username\Music\iTunes\iTunes Library.xml

      Windows 7     \Users\username\Music\iTunes\iTunes Library.xml

       

      That is the current task at hand......

      Thanks for your feedback!

       

      ~ ~

      As a reference, further researching Steps are noted below:

      • display Artist list

                drill down to said Artist songs

      • Display Album Artwork / when available, else JukeBox images.png(s)
      • Play music

       

      Any an All insight is greatly appreciated.

       

      D~