Volumio on a Raspberry Pi3 mixed with Home Assistant is pretty slick, unless you want to use it as a source for audible notifications.
So, it seems that some of these media players require that there be a playlist to call as a source and don’t allow calling a single mp3 file.
I have a virtual grandfather clock that has been playing chimes through Google Home, but no matter what I’ve done with timing or silent mp3’s, I can’t get it to shut up with the initial bleep noise that it makes. I don’t know about you, but I don’t need a sound to tell me that a sound is coming. Just play the sound.
So, I figured using a different media player would be better. And it sort of is, except for this playlist problem. For each sound I want to trigger, I need to add that single sound to a separate playlist. This is overkill, but clearly solves a current problem, which is the inability to directly call a specific file.
This leads to the next problem. If a media player has been queued up to play a set of songs and is currently playing, HA will trigger the playlist with the sound effect, send it to the media player, and the media player (Volumio in this case) wipes out all of the songs currently in the queue, plays the media, then stops, leaving you hanging to start-up your music manually again, and recreate the entire queue. Not a viable option in any setting.
On a side note, Google Home also stopped playback of already playing music.
At this point, there doesn’t seem to be a way to capture the information from the current song, play the sound effect, then re-start playing from where it left off. And there’s that deleted queue problem.
The only solution, currently, is to run two separate Volumio media players. One for music, and one for sound effects, and feed them directly into a mixer and then distribute the audio signal via whatever means you prefer.
To the developers: Is there a way to fix this behavior?