• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: itunes: how to change a track's "date added" info
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: itunes: how to change a track's "date added" info


  • Subject: Re: itunes: how to change a track's "date added" info
  • From: olli <email@hidden>
  • Date: Mon, 18 Oct 2004 14:38:48 +1000

hi johnny

I fought with this, too. There's a complicated procedure wherein you export
the current Library, delete the references to the songs you want altered
from the Library, alter the exported Library.xml file to reflect the date
changes, then import the file. You have to *really* want to change the date
added key to make this worthwhile.


this sounds _very_ interesting. what are the exact steps for this procedure?

i'm not too familiar with the library structure in iTunes, but as a first bet i'd say:
a) save the library as xml
b) change the desired added date values
c) import the xml file.


but i have two questions:

i) how does itunes match the library entries to the real songs?
ii) what happens when i screw the xml up? does it render the whole library useless?


I'm not exactly sure why the iTunes team finds this data field sacrosanct;
or perhaps it's that they cannot imagine a need to change it, so they
concentrate development efforts elsewhere.

Given the number of times my iTunes Library has become corrupt/wonky and
required deletion and rebuilding,



how do you "rebuild" the library? from the given song files? but what about the extra non-mp3-tag info like comment enabled, etc?


Another thing you can do, if it's some sense of accuracy as to when the file
was truly added, you can read the actual creation date (which is usually the
same day it was added to the Library) of the file in Finder and report that
via AS.

tell application "iTunes" to set l to location of current track
-- > alias "storage38:music:_ And the Mysterians:Unknown Album:96 Tears.mp3"
tell application "Finder" to set da to creation date of file l
-- > date "Tuesday, May 9, 2000 5:56:25 PM"



this sounds interesting, too. in the case i could figure out a way to modify the added date info i'd be able to change it for all songs from the lib to the corresponding file date, couldn't i?


this is great because occasionally i re-add songs a second time in order to put them into a second album (with out the need of playlists). then with the click of a button i could consolidate the added date info!

thanks, olli


_______________________________________________ Do not post admin requests to the list. They will be ignored. Applescript-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Re: itunes: how to change a track's "date added" info (From: Johnny AppleScript <email@hidden>)

  • Prev by Date: Re: A grocery list
  • Next by Date: Re: detect network with "automatic" location
  • Previous by thread: Re: itunes: how to change a track's "date added" info
  • Next by thread: Re: Filters with "entire contents of"
  • Index(es):
    • Date
    • Thread