I am not affiliated with the developer(s), I am just a satisfied user.
Simply disable any unwanted players, while keeping Spotify enabled.
Homebrew: brew install -cask beardedspice It can be downloaded and installed directly from the Beardedspice homepage, or by using e.g. It runs in the background and gives you a few simple settings in the Mac menu bar. The software Beardedspice provides a user-friendly approach to prioritizing Spotify for your media keys.