Re: Itunes - persistent ids not unique (or, managing double integers)
Re: Itunes - persistent ids not unique (or, managing double integers)
- Subject: Re: Itunes - persistent ids not unique (or, managing double integers)
- From: Matt Deatherage <email@hidden>
- Date: Sat, 11 Mar 2006 01:39:07 -0600
On 3/11/06 at 8:52 PM, Andrew Bush <email@hidden> wrote:
> > I believe you're seeing a rounding error where the four least
> > significant digits are being lost. As a result, more that one song
> > may end up with the same truncated ID.
>
> ah, yep. that makes sense.
>
> is applescript capable of handling double integers at all then? or
> should I give up this approach as a lost cause?
Yes and no:
<http://lists.apple.com/archives/Applescript-users/2003/Sep/msg00837.html>
iTunes returns the "persistent ID" as a "double integer", but as Chris
said over two years ago, AppleScript converts this to "real" upon
receiving it. I don't know how you could work around it.
The fault, dear Andrew, lies not in ourselves but in our scalars.
--Matt
--
Matt Deatherage <email@hidden>
GCSF, Incorporated <http://www.macjournals.com>
We sincerely apologize for yesterday. It was eaten by squirrels.
_______________________________________________
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