Skip to content

Instantly share code, notes, and snippets.

@kylehowells
Created December 4, 2014 01:18
Show Gist options
  • Select an option

  • Save kylehowells/36b6f7e3f584590d0943 to your computer and use it in GitHub Desktop.

Select an option

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
)*/
@aviwad
Copy link
Copy Markdown

aviwad commented Mar 22, 2025

Broken in 15.4 beta

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment