Sunday, May 1, 2011

Access the BPM ID3 tag in iPhone OS 3.0

Is there any way to access the BPM (beats per minute) ID3 tag of a song on your iPod using the iPhone OS 3.0 SDK? I'm looking at

https://developer.apple.com/iphone/prerelease/library/documentation/MediaPlayer/Reference/MPMediaItem_ClassReference/Reference/Reference.html

and i don't see it:

NSString const MPMediaItemPropertyPersistentID;      / filterable */
NSString const MPMediaItemPropertyMediaType;         / filterable */
NSString const MPMediaItemPropertyTitle;             / filterable */
NSString const MPMediaItemPropertyAlbumTitle;        / filterable */
NSString const MPMediaItemPropertyPodcastTitle;      / filterable */
NSString const MPMediaItemPropertyArtist;            / filterable */
NSString const MPMediaItemPropertyAlbumArtist;       / filterable */
NSString const MPMediaItemPropertyGenre;             / filterable */
NSString const MPMediaItemPropertyComposer;          / filterable */
NSString *const MPMediaItemPropertyPlaybackDuration;
NSString *const MPMediaItemPropertyAlbumTrackNumber;
NSString *const MPMediaItemPropertyAlbumTrackCount;
NSString *const MPMediaItemPropertyDiscNumber;
NSString *const MPMediaItemPropertyDiscCount;
NSString *const MPMediaItemPropertyArtwork;
NSString *const MPMediaItemPropertyLyrics;
NSString const MPMediaItemPropertyIsCompilation;     / filterable */

From stackoverflow
  • If you don't see it, submit a Radar to have it included, or perhaps to ask for an API with a more general means of querying tag values.

0 comments:

Post a Comment

Note: Only a member of this blog may post a comment.