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 protected])
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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [email protected]