kolossos4730 wrote: 
> Philippe,
> 
> I installed another Raspberry Pi based player/UPnP renderer: moode
> (http://tcmods.org/). Nice feature of moode is that it has an audio
> information screen which displays the file format received from LMS
> including bit depth and sample rate.
> 
> Gapless plays fine using moode's renderer, but this time there are
> problems advancing to the next track. Log file attached shows me
> pressing the next track button in the LMS webinterface a few times to
> advance to the next track. This works ok for the first few tracks, but
> at the last track in the log, 'An Arrow', playback stops. This happens
> almost random while advancing through a playlist.
> 
> I'm not sure if this has anything to do with this particular
> configuration but the log file has numerous lines with the following
> text:
> 
> > 
Code:
--------------------
  >   > [18:11:58.408] XMLGetFirstDocumentItem:72 (BUG) 
ixmlNode_getFirstChild(tmpNode) returned NULL
--------------------
> > 
> 
> P.S. I'm not sure if I should post this here or in the new plugin
> thread.

Here is fine as well. 

Just for confirmation, you are advancing pretty quickly in the playlist,
correct ? Does it happens as well if you wait >10s in a track ? 

Appart from this, this is another contorded case where, again, every
UPnP player do things "a bit differently'

Code:
--------------------
    
  [18:11:55.975] sq_get_metadata:460 [004BDB20]: idx 6
        artist:Sarah Blasko
        album:I Awake: Live At The Sydney Opera House
        title:I Awake
        genre:Folk
        duration:207
        size:0
  // I send the info    "where to get track"" to moode
  [18:11:55.975] AVTSetURI:130 uPNP setURI 
http://192.168.0.220:49157/LMS2UPNP/b8-27-eb-33-32-f1-idx-0.flac for 
http://192.168.0.245:49152/ctl/AVTransport (cookie 0000008B)
  // moode queries me about the track to play and starts to buffer
  [18:11:56.037] WebGetInfo:71 [004C06D8]: GetInfo 
/LMS2UPNP/b8-27-eb-33-32-f1-idx-0.flac -3 audio/x-flac
  [18:11:56.037] sq_open:524 [004BDB20]: open
  [18:11:56.037] sq_read:689 [004BDB20]: read 1048576 (r:1048576 w:100)
  // moode closes the connection - huh ?
  [18:11:56.115] sq_close:568 [004BDB20]: read total:2097152
  
  // I wait for a confirmation of moode status for sending the "play" command
  [18:11:56.224] SyncNotifState:446 Moode UPNP: uPNP stop
  [18:11:56.224] UnQueueAction:261 [004830D0]: un-queuing action 4
  [18:11:56.224] AVTPlay:205 uPNP play for 
http://192.168.0.245:49152/ctl/AVTransport (cookie 0000008E)
  
  // moode re-opens the connection and gets the file information
  [18:11:56.240] WebGetInfo:71 [004C06D8]: GetInfo 
/LMS2UPNP/b8-27-eb-33-32-f1-idx-0.flac -3 audio/x-flac
  [18:11:56.240] sq_open:524 [004BDB20]: open
  [18:11:56.240] sq_read:689 [004BDB20]: read 1048576 (r:1048576 w:100)
  // playing ...
  
  // you click 'next'
  [18:11:58.252] AVTBasic:281 uPNP Stop for 
http://192.168.0.245:49152/ctl/AVTransport (cookie 00000093)
  [18:11:58.283] sq_callback:277 [004830D0]: codec:f, ch:255, s:255, r:255
  [18:11:58.330] sq_get_metadata:460 [004BDB20]: idx 7
        artist:Sarah Blasko
        album:I Awake: Live At The Sydney Opera House
        title:An Arrow
        genre:Folk
        duration:231
        size:0
  
        // same process as before       
  [18:11:58.330] AVTSetURI:130 uPNP setURI 
http://192.168.0.220:49157/LMS2UPNP/b8-27-eb-33-32-f1-idx-1.flac for 
http://192.168.0.245:49152/ctl/AVTransport (cookie 00000096)
  [18:11:58.393] SyncNotifState:446 Moode UPNP: uPNP stop
  [18:11:58.393] UnQueueAction:261 [004830D0]: un-queuing action 4
  [18:11:58.393] AVTPlay:205 uPNP play for 
http://192.168.0.245:49152/ctl/AVTransport (cookie 00000097)
  [18:11:58.393] sq_notify:740 [004BDB20] uPNP notify STOP
  
  // moode requests track info
  [18:11:58.439] WebGetInfo:71 [004C06D8]: GetInfo 
/LMS2UPNP/b8-27-eb-33-32-f1-idx-1.flac -3 audio/x-flac
  [18:11:58.439] sq_open:524 [004BDB20]: open
  [18:11:58.439] sq_read:689 [004BDB20]: read 1048576 (r:1048576 w:100)
  [18:11:58.439] sq_read:689 [004BDB20]: read 1048576 (r:1048576 w:100)
  
  // oops ... moode requests trackinfo a 2nd time before closing the 1st 
connection
  [18:11:58.627] WebGetInfo:71 [004C06D8]: GetInfo 
/LMS2UPNP/b8-27-eb-33-32-f1-idx-1.flac -3 audio/x-flac
  
  // mood close the connection, but in fact both are closed.
  [18:11:58.861] sq_close:568 [004BDB20]: read total:2097152
  
--------------------


The problem is that a long ago, I saw that some players try to open 2
connections in // to get the same stream. I think this is authorized but
borderline. WHat I do is kicking-out the 2nd connection and so the
player keeps the 1st one only. The problem, I think I that the moode
wants to open 1 connection, but its strange "timing" makes me think that
it wants 2 so I kick the 2nd one but the result is that both are closed
... argh another problem



LMS 7.7.2 - 5 radio, 3 Boom, 4 Duet, 1 Touch, 1 SB2. Sonos 2xPLAY:1,
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne
(sort of)
------------------------------------------------------------------------
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