Re: itunes: how to change a track's "date added" info
Re: itunes: how to change a track's "date added" info
- Subject: Re: itunes: how to change a track's "date added" info
- From: Johnny AppleScript <email@hidden>
- Date: Sun, 17 Oct 2004 13:04:37 -0600
On 04/10/17 7:46 AM, "olli" <email@hidden> wrote:
> in itunes i can change all sorts of track properties. for example the
> last played date.
>
> with the date added property this doesn't seem to work.
>
> any idea what i can do?
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.
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, I have taken to adding a 'Date added'
notation to the comments field, where I can retrieve it if needed. Problem
is, with comments limited to 255 characters, I often need those precious few
characters for other things.
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"
(* yes, I've been carrying creation/added dates since the days of SoundJam
*)
_______________________________________________
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