• 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
iOS 5: iPod Library Access
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

iOS 5: iPod Library Access


  • Subject: iOS 5: iPod Library Access
  • From: John Michael Zorko <email@hidden>
  • Date: Thu, 12 Apr 2012 11:30:31 -0700

Hello, all ...

I'm trying to navigate the artists / albums / genres / etc. on a device. The documentation for this is usually easy to follow, but i'm finding it to be confusing regarding the concept of persistent IDs. I've a couple of questions:

1. What does and what does not have an MPMediaItemPropertyPersistentID?
	a. Does each artist have one?
	b. Does each album have one?
	c. Does each genre have one?
	d. Does each song / tv show / movie / audiobook / playlist / podcast / etc. have one?
	e. Are these IDs unique across all collections i.e. will a specific album have the same persistent ID of, say, another artist or a song from another album?

2. Is it possible to find a particular artist / album / genre / etc. given only it's MPMediaItemPropertyPersistentID (assuming 1(e) is true)? If so, how? I see lots of examples for finding the albums of an artist, etc. given the artist name, album name, etc., but what if two artists have the same name, or different artists used the same title for their album? I'd like to use the MPMediaItemPropertyPersistentID, if possible, to make each search unambiguous. If this is possible, could someone point me at some example code that uses the MPMediaItemPropertyPersistentID to find a specific item?

Regards,

John, appreciative


_______________________________________________

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

  • Prev by Date: Re: A question about core data.
  • Next by Date: Re: Question about hebrew in textfields and textviews
  • Previous by thread: Re: Question about block, ARC, self, and reference counting.
  • Next by thread: Watching a variable in Xcode 4.3
  • Index(es):
    • Date
    • Thread