Quit Spotify and Sleep Macro.
I use this macro whenever I step away from the computer and want to listen to music in another room.
There's a common issue that when Spotify is running on the Mac, it pauses every 5 seconds on your iPhone (due to a bug).
If you are also experiencing this, feel free to use it! This was the solution for me, as there isn't a clear-cut solution to this bug from Spotify at this moment.
Quit Spotify and Sleep.kmmacros (2.2 KB)