PaulinPosset wrote: 
> I've carried out tests using 0.1.3.2b with different settings for the
> stream length and seek after pause with logfiles and config files in the
> dropbox folder:
> https://www.dropbox.com/sh/shpo8ralvwcljje/AADuWEup31XlCwh50ZB5L4Yqa?dl=0
> 
> The results are sumarised below:
> 
> Test A
> 
> <stream_length>1000000000</stream_length>
> 
> <seek_after_pause>0</seek_after_pause>
> 
> Wouldn't play at all. Renderer just displayed "connecting to server"
> 
> 
> Test B
> 
> <stream_length>1000000000</stream_length>
> 
> <seek_after_pause>1</seek_after_pause>
> 
> Played and paused but when unpaused play wouldn't resume.
> 
> 
> Test C (my default configuration)
> 
> 
> <stream_length>-3</stream_length>
> 
> <seek_after_pause>1</seek_after_pause>
> 
> Played, paused, unpaused, re-positioned.
> 
> I notice that when I pause using the Uniti remote control it pauses and
> unpauses from the same position whereas when using the control point in
> LMS the unpause position will be 2-3 seconds earlier than the pause.
> I.e. if paused at 30 seconds into the track when unpaused play will
> resume at around 27 to 30 seconds.
> 
> Streamed flacs will also start from the beginning rather than resume
> from the paused position when using LMS control but will resume
> correctly when using the Uniti remote.
> 
> The command line entry in the logfile is also very simple (only one
> line)when using the Uniti remote control and I've pasted the
> pause/unpause section of the log below, with a full log in the dropbox
> folder if that helps
> 
> [21:09:45.738] sq_read:516 [00483230]: read 261120 (r:261120 w:100)
> [21:09:46.549] SyncNotifState:352 Uniti2-5A87: uPNP pause
> [21:09:57.365] SyncNotifState:336 Uniti2-5A87: uPNP playing
> [21:09:57.365] sq_notify:538 [00483230] uPNP playing notif
> [21:09:57.365] SetVolume:260 uPNP volume 37 for
> http://192.168.0.147:8080/RenderingControl/ctrl (cookie 00000064)
> [21:09:58.196] sq_read:516 [00483230]: read 261120 (r:261120 
> 
> Don't wish to complicate matters but an observation I thought might be
> of use.
> 
> Back to listening with Version 0.1.3.2b which is working well tonight!

Great tests, thanks ! The 2-3 second gap is one of the problems with
<seek_after_pause> set to 1. In such mode, there is a lack of precision
due to the way the pause is handled. What happens in that case is that
squeeze2upnp asks to LMS the current position at pause request and at
resume it sends a "goto" command to LMS with the memorized position. I
need to find a way to configure the Uniti so that it accepts the "pause"
command, but this is usually a complex combination of some uPNP/DLNA
parameters and the way the stream is sent (hence my question about
<stream_length>). Unfortunately, it might accept to pause with the
remote but not with LMS/squeeze2upnp. BTW, as of today, squeeze2upnp
does not handle well the fact that the control of the player might be
done by 2 entities : a remote and LMS. Typically, volume changes are not
forwarded to LMS and the "pause" behavior might be a bit unknown (i.e.
LMS might be surprised to receive a "pause" notification when it did not
ask for it)


------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=102496

_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to