bamsi wrote: ↑
Sun May 05, 2019 10:40 pm
The best would be to have an Adhan plugin for LMS but I am not a programmer to get out of it.
What would be your advice to do run an Adhan script over Airplay with synced speakers?
You're right, a plugin would be the best if you can't manage with built-in alarms and playlists.
I don't know much about omxplayer, but if it can output to a unix pipe (I guess it should) then you could use LMS's wavein plugin, authored by "bpa".
- Install the wave-in plugin on LMS, run omxplayer on LMS outputting to the pipe that the plugin reads from,
- Group your (airplay) players, select the group, from the GUI select and play the wavein:// source and you could get what comes out of omxplayer on the speakers.
In theory that should work. You should be able to find better advice and possibly bpa himself here.
(I guess I don't have to remind you the Pi only has a vague notion of time and date until it has reached an NTP server to sync its system clock.)