User-Defined Property Keys

Contains properties used to obtain user-defined metadata for a media item.

Overview

Obtain user-defined metadata for a media item by calling the valueForProperty: method with these property keys. User-defined properties cannot be used to build media property predicates.

Topics

User-Defined Property Keys

MPMediaItemPropertySkipCount

The number of times the user has skipped playing the item.

MPMediaItemPropertyRating

The user-specified rating of the object in the range [0...5], where a value of 5 indicates the most favorable rating.

MPMediaItemPropertyLastPlayedDate

The most recent calendar date on which the user played the media item.

MPMediaItemPropertyUserGrouping

Corresponds to the “Grouping” field in the Info tab in the Get Info dialog in iTunes.

MPMediaItemPropertyBookmarkTime

The user’s place in the media item the most recent time it was played.

MPMediaItemPropertyDateAdded

The date the media item was added to the user's Media library.

See Also

Media Item Types and Keys

MPMediaType

The properties used to define the type for a media item.

General Media Item Property Keys

System defined properties used to obtain the metadata for a media item.