Magnetite

Control Spotify or Apple Music from the notch

Magnetite's player under the notch, with the heart, shuffle and repeat beside the previous, pause and next buttons and the seek strip under the song.
The player open under the notch, with the heart, shuffle and repeat beside the controls.

What works from the notch

Spotify likes, shuffle and repeat

You don’t need to connect a Spotify account to control playback. Likes, shuffle and repeat need a free Spotify developer app of your own. The README has the steps.

What it doesn’t control

Browser tabs, YouTube and Podcasts. Magnetite works only with the Spotify and Apple Music desktop apps.

Permissions

Magnetite uses local macOS Apple Events to read what is playing and send playback commands to the app. macOS asks for Automation permission for this. A Spotify connection is optional, and Spotify’s own terms and privacy policy govern what Spotify receives.