RELEASE Generic Media Renderer (DLNA Speakers). Cheap Sonos Alternative (Update V2)

Hi @smorty71, I need more information about Squeezebox, the own SB controller its repaeating the sound, could you help me to verify how to stop it, I can add a sequence to stop after 1 play, but need more data.

1.- During SB in stop could you sent a message, in a normal situation after play the message the app send a stop commnad, could you confirm if the SB repeat the message ?

2.- If the msessage its repeating, can you confirm if the message stop if you press stop button in ST app (not in SB) ?

3.- During SB playing a song could you sent a message, in a normal situation after play the message the app will load the last song an should start playing, could you confirm if the SB start the song after play the message ?

4.- The SB plays the entire the message or the message is partially played?

thanks

Odd about the Boom. Mine aren’t repeating as you described. No idea why my experience is different.
…unless you have it set to repeat current track which is an option on the SB.

1 Like

@ule @pd_ Let me run through those steps (and check that I don’t have “repeat track” set). Will let you know later today. Thanks guys.

@pd_ So it turns out I had the “Repeat playlist” set to “on.” @ule Nothing is wrong with the app, just me :slight_smile:

1 Like

@smorty71, @pd_, are you are seeing the same problem I am? If music is playing and an alert occurs, after playing the alert it does not return to playing the music?

@lex Same confirmed. My devices will not resume playing after sounding an alert. I tried several different setting and tracks/stations with no success.

Hi @pd_ , @lex, @smorty71 there are some reason to do not resume the last song, could you help me to identify the problem?

  1. what control point do you use?
  2. when songs are playing, the name song is updated automatically in st device when the next track is playing?
  3. if the name song is not updated automatically, the name song updates after you press refresh button?
  4. in your control point the name song is updated?
  5. could you try the denon remote app for ios to test your renderer
    Thanks

@ule, as I mentioned before in this thread.

  1. I believe what you are calling the “control point” is the “server”, which is https://github.com/Logitech/slimserver.
  2. I’ve never seen track songs in smarthings iphone app.
  3. refresh on ios app does not help show track title.
  4. the boombox hardware and “slimserver” both show correct title.
  5. I will try denon remote app and report back.

thanks

ah, it looks like “control point” is UPnP terminology. “UPnP control points (CPs) are devices which use UPnP protocols to control UPnP controlled devices (CDs)” http://en.wikipedia.org/wiki/Universal_Plug_and_Play

I’ve tried the Denon Remote app, and I can direct the BoomBox to play music. Though once in the “Player view”, nothing works except volume, change shuffle type and repeat type. The start time is stuck at 00:00, it displays the known end time, but the timer bar is never updated, nor can I skip ahead. The app does display the song that I’ve chosen to play. The skip back, pause, stop, and skip forward buttons also do not work. Assuming Denon Remote App is properly testing the play feature then I’d guess that’s a pretty good indicator that the slimserver UPnP is not a full working implementation. =[

Just for reference I’ve also tried the following:
slimserver (aka Logitech media server) uses https://github.com/Logitech/slimserver/blob/public/7.9/CPAN/Net/UPnP.pm. It is version 1.2.1 and I see that there is a newer one, so I’ve updated to http://cpansearch.perl.org/src/SKONNO/Net-UPnP-1.4.3/. however there was no notable behavior difference.

@ule, thanks for your help.

Anyone using sabrent? Are you able to play tracks? If so how are you getting ST to bring those into ST to be able to play?

Hi @zuperman4ever, I guess you have already installed the app and the device type, and have found your sabrnet device.

You can send messges by apps like sonos notify with sound, you can find it in (Actions > Music > Play a sound…when events occur), in this you cand play a message or you can play a music track you have played previously.

Each music track (song) you play in your device, the reference its saved in st system.

To play music in sabrent you must install a control point in your smartphone, I suggest to use Denon app to ios or android, and you mus have a media server in your computer I suggest you to use plex media server.

Thanks for the heads up on the Denon app and plex media server. That is probably what I am missing to get ST to see music tracks to play.

When I have been doing the custom message through the smartapp it was only saying Ha for Hall lights on and not completing the sentence. I don’t know what it was cutting it off. Still looking into that.

Hi @zuperman4ever, Some Media Renderers take some time to start a web message, in the device type in ST app you can configure the time before message, you can increase some seconds if you media renderer takes time to start.
I need to explain how works The message and resume.

1)If no music is playng, ST send the msessage -> The messages is loaded into MediaR -> MediaR Play -> MediaR waits x seconds -> MediaR stop. If Media R takes a lot of time to start the message will cut off, becouse the x seconds depends of length of message, you can add some secconds in preferences.

  1. If music is playig, ST send the msessage -> The messages is loaded into MediaR -> MediaR Play -> MediaR waits x seconds -> MediaR stop -> MediaR load previous track -> MediaR play. If Media R takes a lot of time to start the message will cut off, becouse the x seconds depends of length of message, you can add some secconds in preferences.

  2. If music is playing with a Control point, Some control point do not acept external commands, then when ST send the message, any command , in this case load, is interpreted like next song and the message will cut off, becouse the control point send the next song. I suggest to use Denon app to avoid this kind of problems

  3. When a Control Point send the music loaded in the phone , this music track can not be used in ST alert, because the track is exposed only 1 time by the control point, if the media renderer wants to play it again , the url track does not exist, becouse the control point has destroyed the url to create the new song played, this is the reason to use a media server, the track will be always available to play even the control point is closed.

  4. If you want to play music from your phone I suggest you to use Technics Music App control point, this control point let you send the music saved from your phone to your device and ST can resume the song and continue the list if a message is played, works great with music from you phone, but even in this app you can play music from a Media Server, the app can resume the last song after the message but will not continue with the list, to use a media server source I suggest you to use Denon Remote App, sorry, I have not found an all in one free control point working with ST resume function.

1 Like

Hi @ule, Sorry it took a while to get back. I did move to the latest code and tested it again. I still see the issue where the message gets cut off. I increased the time delay up to 10 seconds and it gets cut exactly at the same line.

Hi @vishwanth could you give me more info.

  1. Please read the first post, I have added some topics, its important to speed up the solution
  2. I guess you are not using any control point , just the device and sonos notify with sound., is that correct?
  3. This device have 2 devices in 1, Airplay and DLNA, please do not link any controller to airplay I think it can block the dlna instrucctions.
  4. Can you send music from one of apps described in first post?

Version 1.6.0 Released - Speech Synthesis Capability added

1 Like

My device is not being detected with the latest version from GitHub, still. You mentioned change the ip address of the Media Renderer. I’m not following the problem with it’s IP address being 10.0.0.13. Can you elaborate?

HI @rayzurbock, Have you changed the ip address of your mediarenderers?

@Ule I’m not following the problem with my media renderers IP address being 10.0.0.13. Can you elaborate?

HI @rayzurbock, just try, change the ip address of one of your media renderers, if the MR is not found you can restore the ip address, After install and unistall several times my MRs ( testing ) , one time the ST Hub could not find some MRs, When I changed the MR ip address, the MR response the description file and MR was added, I think is problem with ST event suscription, is not sending the suscription or is not catching the response. to reset the MR did not work for me, just to change the ip address works, the MR was working with any other control point but not with ST before change the ip,
If change the ip address in your MR is not working for you, Its needed to verify your network, and monitor the DLNA comunication to find your MR problem.