I don't have experience with python, but I found this online:
https://gist.github.com/sinkers/d647a80fdb180b4cc3a6
Assuming it works with the current version of ffmpeg (ffprobe), I tried to just modify the code a bit, so it doesn't log in to Amazon SNS to send a message. Just simply opening an audio file when the stream goes down, with the following command (I found it on this site) would do just fine:
os.system("start /sound/xyz.mp3")
I tried to do this-and-that, but I can't seem to succeed. I have 3.x installed.
I know it's probably silly, but do I need to enter the relative, or absolute file locations? For ffprobe and the sound file, is it C:\... or what's the correct format and path?
Any help to solve this would be greatly appreciated.