Notification of Media playback status Mac

Hello,

I am working on a Mac app and I would like to be able to get notifications (NotificationCenter.default.addObserver.add... MPMusicPlayerControllerPlaybackStateDidChange) when media starts to play in other apps. Is this possible on Mac?

Thanks in advance!

You posted this 23 hours ago and no one replied, this developer forums seriously need paid people to answer developer questions. C'mon how much apple is earning from selling the devices. c'mon apple employ some people.

Notification of Media playback status Mac
 
 
Q