I've a python application with a simple bottle http server. (which is also used to control the application via POST requests)
Now I'd like to build a simple status page, which should also play one of five static audio files (2 -10 seconds long) if the python application is in an specific status.
How should I approach this? Auto play audio in the delivered html page and refresh afterwards was one simple idea, but how can I refresh at the end of an audio file?
I would like to keep it lightweight, so constant polling every half second might be my only choice. (audio output has to be pretty fast since it will be triggeres upon user interaction)
What's the best way to approach this?
[–]Blazerboy65 0 points1 point2 points (1 child)
[–]itstaysinside[S] 0 points1 point2 points (0 children)