Currently i’m using 4 pi’s with volumio installed, the sounds i trigger with shell commands in home assistant. But there is always a delay between the trigger and the raspberry playing the actual sound.
Is there another solution for this? Because all volumio players play the same audio file, but not always together at the same moment.
i also found something about Picoreplayer, with one server and clients. But i don’t know if thats the way to go.
I use PiCore Player as the player for Logitech Media Server and can’t find fault. While my LMS is installed on a separate NAS, it can be installed as an add-on to PCP, giving master/slave (sorry, I don’t do PC when it is ridiculous) on the one device.
LMS give you control over all slaves through HA or (if you have a real phone ) with Android app Squeezer.
Since LMS is broadcasting to all PCPs, it should be synchronised.
If you just want the file played fast, then avoid synchronizing solutions, like Volumio or Snapcast, and go for just a mpd installed on the Pis.
If you want them to be in sync, then Volumio and Snapcast seems to be the two mayor open source solutions, but the synchronization require time to be setup.
Thanks for the suggestions. I was using volumio before, but there was a long delay between the players and even when i trigger just 1 player it took 2 seconds to start the track.
Yesterday i installed picoreplayer with LMS and 4 single players. It works great!! Almost no delay when firing the script, and all sync.
The only problem i see in my hassio log is:
-2021-12-10 09:11:55 ERROR (MainThread) [pysqueezebox.player] Timed out waiting for playlist_urls to have value [{‘url’: ’ /home/audiofile0.mp3’}]-
Tracks are still working, but how to fix the error? Do i have to make playlists?
I do not know that addon, but I know from other players that they often try to get info from the stream to show, such as artist, album, cover image and so on. Maybe that is what it can’t find.