Skip to content

Instantly share code, notes, and snippets.

@kylehowells
Created December 4, 2014 01:18
Show Gist options
  • Save kylehowells/36b6f7e3f584590d0943 to your computer and use it in GitHub Desktop.
Save kylehowells/36b6f7e3f584590d0943 to your computer and use it in GitHub Desktop.
MRMediaRemoteGetNowPlayingInfo Keys
MRMediaRemoteGetNowPlayingInfo(dispatch_get_main_queue(), ^(CFDictionaryRef information) {});
/* [information allKeys]
(
kMRMediaRemoteNowPlayingInfoTotalDiscCount,
kMRMediaRemoteNowPlayingInfoShuffleMode,
kMRMediaRemoteNowPlayingInfoTrackNumber,
kMRMediaRemoteNowPlayingInfoDuration,
kMRMediaRemoteNowPlayingInfoRepeatMode,
kMRMediaRemoteNowPlayingInfoTitle,
kMRMediaRemoteNowPlayingInfoPlaybackRate,
kMRMediaRemoteNowPlayingInfoArtworkData,
kMRMediaRemoteNowPlayingInfoAlbum,
kMRMediaRemoteNowPlayingInfoTotalQueueCount,
kMRMediaRemoteNowPlayingInfoArtworkMIMEType,
kMRMediaRemoteNowPlayingInfoMediaType,
kMRMediaRemoteNowPlayingInfoDiscNumber,
kMRMediaRemoteNowPlayingInfoTimestamp,
kMRMediaRemoteNowPlayingInfoGenre,
kMRMediaRemoteNowPlayingInfoQueueIndex,
kMRMediaRemoteNowPlayingInfoArtist,
kMRMediaRemoteNowPlayingInfoDefaultPlaybackRate,
kMRMediaRemoteNowPlayingInfoElapsedTime,
kMRMediaRemoteNowPlayingInfoTotalTrackCount,
kMRMediaRemoteNowPlayingInfoIsMusicApp,
kMRMediaRemoteNowPlayingInfoUniqueIdentifier
)*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment