Dev:MediaRemote.framework

MediaRemote is a framework that is used to communicate with the media server, mediaserverd. It can be utilized to query the server for now playing information, play or pause the current song, skip 15 seconds, etc.

Sending a command
MediaRemote uses commands to control various things.

You can send a command to the server by doing:

For a complete list of commands, see the header file at the bottom of this page.

Getting now playing information
You may use the MRMediaRemoteGetNowPlayingInfo function to get information about the playing media. See the header file for a list of keys to use with the dictionary.