Hello!
My streamer is a Raspberry Pi running piCorePlayer/Squeezelite/LMS. My sketchy understanding is that every time LMS is started,
SoX (Sound eXchange, the Swiss Army knife of audio manipulation) is invoked and runs the script in the custom-config.conf file.
I have a 'simple' script...