gmrender-resurrect icon indicating copy to clipboard operation
gmrender-resurrect copied to clipboard

upnp] upnp_set_error:

Open gerroon opened this issue 7 years ago • 4 comments

Hi

I am not sure if this is an issue with GMR or my client but this is what I get and the client drops the connection to the upnp renderer and starts playing the song locally sometimes in the middle of playing.

ERROR [2017-09-11 21:09:16.931803 | gstreamer] Failed to get track duration. ERROR [2017-09-11 21:12:15.473409 | upnp] upnp_set_error: Transition to PAUSE not allowed; allowed=PLAY,SEEK

Would you please tell me if this is something that can be fixed/added to GMR?

thanks

gerroon avatar Sep 12 '17 02:09 gerroon

What is your client, and what did you attempt to do ?

hzeller avatar Sep 12 '17 03:09 hzeller

Hi

I use Dsub on Android. Dsub is a client for Airsonic and it is able to cast to upnp players. This stoping casting and continuing local play seems to happen with GMR only, I do not get that with Kodi or Rygel when using Dsub for casting.

gerroon avatar Sep 12 '17 14:09 gerroon

I suspect your client is not entirely following the specification, as it was told in the protocol which transitions were allowed. The PLAY,SEEK allowed transitions are allowed when the playback is stopped. So your Dsub client seemed to have either not received the stopped transport event.

What happens in the logfile before the error ? There should be some transition to stopping somewhere.

hzeller avatar Oct 22 '19 06:10 hzeller

I'm running MediaMonkey on Android 8.0 to play (send), and gmrender-resurrect-git 331.26d8f7e-1 for listening (receive) on Linux Manjaro: I also see these warning messages from gmediarender: gmediarender[3291]: ERROR [2020-01-14 01:14:30.021070 | gstreamer] Failed to get track duration. gmediarender[3291]: ERROR [2020-01-14 01:14:30.521361 | gstreamer] Failed to get track duration. gmediarender[3291]: ERROR [2020-01-14 01:14:31.021639 | gstreamer] Failed to get track duration. gmediarender[3291]: ERROR [2020-01-14 01:16:15.358296 | upnp] upnp_set_error: Transition to PAUSE not allowed; allowed=PLAY,SEEK (701)

MR-Diamond avatar Jan 14 '20 00:01 MR-Diamond