API for something like "Now Playing" menu bar item

Is there a public API that lets you query information on currently playing media and issue commands like skip forward for 15 seconds?

There is a MediaPlayer framework but it seems to only have an API for players, which are on the other end of communication.

API for something like "Now Playing" menu bar item
 
 
Q