Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 7 of 7
  1. #1
    Junior Member
    Join Date
    Oct 2018
    Posts
    7

    Momentarily play sound, continue with the playlist - IoT/smarthouse

    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:
    1. pause the playlist if it is playing
    2. play a sound
    3. 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?

  2. #2
    Senior Member
    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.

  3. #3
    Junior Member
    Join Date
    Oct 2018
    Posts
    7
    Quote Originally Posted by alfista View Post
    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.
    Thanks! The answer from snaffler seems to be exactly what I am looking for.
    I will try to contact him.

  4. #4
    Senior Member
    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
    Paul Webster
    http://dabdig.blogspot.com
    Author Radio France (FIP etc) plugin

  5. #5
    Junior Member
    Join Date
    Oct 2018
    Posts
    7
    Quote Originally Posted by Paul Webster View Post
    Another one is
    [Announce] LMS Announce - play announcements / notifications
    https://r.tapatalk.com/shareLink?sha...4&share_type=t
    Perfect, thanks!

  6. #6
    Junior Member
    Join Date
    Oct 2018
    Posts
    7
    Quote Originally Posted by Paul Webster View Post
    Another one is
    [Announce] LMS Announce - play announcements / notifications
    https://r.tapatalk.com/shareLink?sha...4&share_type=t
    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?

  7. #7
    Senior Member
    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
    Paul Webster
    http://dabdig.blogspot.com
    Author Radio France (FIP etc) plugin

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •