title: How to get currently playing song on Mac (Swift)
body: <p>On Mac the touch bar can automatically detect what app is playing audio, and lets you play/pause, skip, and even seek through the audio. This works for Spotify, Quicktime, and even websites in your browser, like a YouTube tab on Google Chrome. How can I get the same information (song name, thumbnail, app that's playing the song, duration, etc.) by using Swift?</p>