• 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: How to get music list?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to get music list?


  • Subject: Re: How to get music list?
  • From: "Kyle Sluder" <email@hidden>
  • Date: Sun, 3 Aug 2008 21:31:16 -0400

On Sun, Aug 3, 2008 at 8:41 PM, Eric Lee <email@hidden> wrote:
> The problem, is actually getting started. Which class should I use?

Break it down.  By far the more challenging part is actually getting
the iTunes data.  There are a few ways of going about this:

1) Use Scripting Bridge (Leopard only).
2) Build an AppleScript and send it to iTunes.
3) Send raw Apple Events to iTunes.
4) Parse the iTunes Library XML files.

#4 is unsupported, but also the only way to get access to the iTunes
library when iTunes isn't running.  The approach you take is dictated
by your functional requirements.

HTH,
--Kyle Sluder
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: How to get music list?
      • From: "Dave DeLong" <email@hidden>
References: 
 >How to get music list? (From: Eric Lee <email@hidden>)

  • Prev by Date: How to get music list?
  • Next by Date: Terminate App While NSSheet Is Visible?
  • Previous by thread: How to get music list?
  • Next by thread: Re: How to get music list?
  • Index(es):
    • Date
    • Thread