• 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 - persistent ids not unique (or, managing double integers)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Itunes - persistent ids not unique (or, managing double integers)
      • From: Andrew Bush <email@hidden>
References: 
 >Re: Itunes - persistent ids not unique (or, managing double integers) (From: Andrew Bush <email@hidden>)

  • Prev by Date: Re: Itunes - persistent ids not unique (or, managing double integers)
  • Next by Date: Minimize work, but Maximizing Applications doesn't work
  • Previous by thread: Re: Itunes - persistent ids not unique (or, managing double integers)
  • Next by thread: Re: Itunes - persistent ids not unique (or, managing double integers)
  • Index(es):
    • Date
    • Thread