I'm hoping that I am not breaking some rules by sharing this
https://github.com/b0janilic/soundsource-restart .
SoundSource's trial mode injects unbearable white noise every ~20 minutes, forcing you to manually restart the app. If you use parametric EQ with a negative preamp (e.g. for EQ correction), this restart causes a volume spike — the PEQ is momentarily inactive while SoundSource relaunches, and USB DACs that ignore macOS software volume control have no way to compensate.
Without media-control, this script automates exactly what you'd do manually: waits for the trial popup, restarts SoundSource. Same result, no human needed — but the volume spike still applies.
With media-control, the script restarts SoundSource
before the noise ever fires, pausing your player during the restart so the transition is completely seamless. The only exception is songs longer than 20 minutes — the script can't wait for the next track, so it pauses mid-song instead.
Let me know if you try it out and there are some issues or if you have some better ideas how to improve it.