Hi, I'm new here, but have been (and am!) a happy Squeezebox user for several years.
I am running LMS on an old computer (Linux).
As I buy more and more IoT devices, and since I have a squeezebox in every room of my house now, I was wondering if I could have the Radio, Touch, Boom or Controller to momentarily:
- pause the playlist if it is playing
- play a sound
- continue the playlist as before
This would be enormously useful for me, as it would make it possible to make my house "talk" to me to inform me about alerts and all sorts of things. The same computer that is running LMS also has a 433 MHz receiver, and can read all sort of signals from switches, motion detectors, etc. By hooking into other scripts/programs, I would like to send "audible alerts" to selected rooms for instance.
Is it possible? I guess it can be done by either:
- Use of a dedicated app
- By using ssh and use the "aplay" command directly on the device
- Using the API? I couldn't find a way to pause, play a file and then continue.
Anyone knows, or has ideas?
Results 1 to 7 of 7
-
2018-10-31, 14:20 #1
- Join Date
- Oct 2018
- Posts
- 7
Momentarily play sound, continue with the playlist - IoT/smarthouse
-
2018-10-31, 14:52 #2
- Join Date
- Aug 2009
- Posts
- 404
I've seen a few discussions on the forum over the years. A quick search only turned up this thread, but I think there are more to be found.
-
2018-10-31, 15:03 #3
- Join Date
- Oct 2018
- Posts
- 7
Thanks! The answer from snaffler seems to be exactly what I am looking for.
I will try to contact him.
-
2018-10-31, 15:07 #4
- Join Date
- Apr 2005
- Location
- UK/London
- Posts
- 1,885
Another one is
[Announce] LMS Announce - play announcements / notifications
https://r.tapatalk.com/shareLink?sha...4&share_type=t
-
2018-10-31, 15:44 #5
-
2018-11-01, 01:38 #6
- Join Date
- Oct 2018
- Posts
- 7
This plugin seems to almost work, but is not quite ready for use (fails to play sometimes, fails to play the entire file sometimes, repeats the announcement multiple times if playlist loop is active, etc).
However, wouldn't it make sense to add "announce" to the supported http command in the core of slimserver, ref http://<server ip>:9000/html/docs/http.html?
-
2018-11-01, 01:44 #7
- Join Date
- Apr 2005
- Location
- UK/London
- Posts
- 1,885
Probably will get the attention of the author of that particular plugin by adding a reply over in that thread