• 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: get iTunes songs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: get iTunes songs


  • Subject: Re: get iTunes songs
  • From: "John C. Daub" <email@hidden>
  • Date: Mon, 16 Oct 2006 14:33:29 -0500
  • Thread-topic: get iTunes songs

on 10/16/06 2:00 PM, John Stiles at email@hidden wrote:

> Are you certain that the XML is always up to date?
> For example, if the user opens up iTunes and adds a song, the XML
> might not reflect that song immediately.
> I believe AppleScript is still the way to go; you just need to
> minimize the number of transactions. There's no need to do a separate
> transaction for each property of each song; that's going to produce
> bad results.

As well, the XML library is technically a private format, subject to change
without notice and breakage for your app without notice. It is my
understanding that the AppleScript API for iTunes is the best way to go in
terms of getting what you want in a way that ought to be compatible and work
well into the future.

I would agree... the best thing to try is some custom code that fetches the
data in bulk, instead of multiple little transactions. Try different
approaches to find what works best... different "groupings" of your batch
information getting. Experiment to find the best batching for your needs.

--
John C. Daub }:-)>=
<mailto:email@hidden> <http://www.hsoi.com/>
"We will make everything metal; blacker than the blackest black... times
infinity!"  - Nathan Explosion


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: get iTunes songs
      • From: Mike Abdullah <email@hidden>
References: 
 >Re: get iTunes songs (From: John Stiles <email@hidden>)

  • Prev by Date: Re: NSUserDefaults and binding to an NSDictionary
  • Next by Date: Re: NSUserDefaults and binding to an NSDictionary
  • Previous by thread: Re: get iTunes songs
  • Next by thread: Re: get iTunes songs
  • Index(es):
    • Date
    • Thread