Paul Webster wrote: 
> Continual spinning when applying settings change to enable local
> player.
> Log when it does not work
> > 
Code:
--------------------
  >   > 
  > INFO   18:42:58.297  Starting Squeezelite-win.exe
  > -s 192.168.2.140 -n "Paul1" -C 60 -m 34:64:a9:0d:05:a8
  > INFO   18:42:58.313  Squeezlite Process Created [26 ms]
  > INFO   18:42:58.631  Squeezelite Started OK and did not abort in [306 ms]
  > INFO   18:42:58.631  ConnectAll Complete.
  > INFO   18:42:58.631  
----------------------------------------------------------------------------------------------------
  > Load URL
  > 
----------------------------------------------------------------------------------------------------
  > DBUG   18:42:58.632  Execute: SlxJavaScript()
  > |  var Result = "02:0e:8e:24:d0:1f";
  > |  localStorage.setItem('lms-material::player', Result);
  > DBUG   18:42:58.634  |= JsResult = '02:0e:8e:24:d0:1f' [1 ms]
  > INFO   18:42:58.634  ... Waiting for Server to confirm player "Paul1" 
connected
  > ERROR  18:43:04.647  WaitForCondition Timed Out
  > INFO   18:43:04.647  Waiting Complete  [6013 ms]
  > DBUG   18:43:04.648  Execute: SlxJavaScript()
  > |  var Result = "removeItem";
  > |  localStorage.removeItem('lms-material::translation');
  > DBUG   18:43:04.652  |= JsResult = 'removeItem' [3 ms]
  > INFO   18:43:04.652  
LoadUrl.Chromium1.LoadUrl(http://192.168.2.140:9000/material)
  > DBUG   18:43:04.652  SND (Json): ["", ["pref","language","?"]]
  > DBUG   18:43:04.677  RCV (Json): {"_p2":"EN"}  [25 ms]
  > DBUG   18:43:04.678  Query Json: [""], ["pref","language","?"]],  _p2='EN', 
 [26 ms]
  > DBUG  *18:43:04.823  ++ Chromium1LoadStart: 
http://192.168.2.140:9000/material/,  Visible: No
  > DBUG  *18:43:04.827  -- Chromium1LoadEnd: 
(http://192.168.2.140:9000/material/)
  > DBUG  *18:43:04.863  ++ Chromium1LoadStart: 
http://192.168.2.140:9000/material/desktop,  Visible: No
  > DBUG  *18:43:05.664  -- Chromium1LoadEnd: 
(http://192.168.2.140:9000/material/desktop)
  > 
--------------------
> > 
> 
> then disable local player and apply - and all is well again
> > 
Code:
--------------------
  >   > 
  > INFO   18:45:16.839  Local Squeezelite player is disabled
  > INFO   18:45:16.877  ConnectAll Complete.
  > INFO   18:45:16.892  
----------------------------------------------------------------------------------------------------
  > Load URL
  > 
----------------------------------------------------------------------------------------------------
  > DBUG   18:45:16.914  Execute: SlxJavaScript()
  > |  var Result = "02:0e:8e:24:d0:1f";
  > |  localStorage.setItem('lms-material::player', Result);
  > DBUG   18:45:16.935  |= JsResult = '02:0e:8e:24:d0:1f' [4 ms]
  > DBUG   18:45:16.973  Execute: SlxJavaScript()
  > |  var Result = "removeItem";
  > |  localStorage.removeItem('lms-material::translation');
  > DBUG   18:45:17.049  |= JsResult = 'removeItem' [11 ms]
  > INFO   18:45:17.057  
LoadUrl.Chromium1.LoadUrl(http://192.168.2.140:9000/material)
  > DBUG   18:45:17.070  SND (Json): ["", ["pref","language","?"]]
  > DBUG   18:45:17.108  RCV (Json): {"_p2":"EN"}  [38 ms]
  > DBUG   18:45:17.110  Query Json: [""], ["pref","language","?"]],  _p2='EN', 
 [40 ms]
  > DBUG  *18:45:17.284  ++ Chromium1LoadStart: 
http://192.168.2.140:9000/material/,  Visible: No
  > DBUG  *18:45:17.302  -- Chromium1LoadEnd: 
(http://192.168.2.140:9000/material/)
  > INFO   18:45:17.303  CefVizTimer Enabled, 50 ms
  > DBUG  *18:45:17.354  ++ Chromium1LoadStart: 
http://192.168.2.140:9000/material/desktop,  Visible: No
  > DBUG  *18:45:18.333  -- Chromium1LoadEnd: 
(http://192.168.2.140:9000/material/desktop)
  > INFO   18:45:18.368  
----------------------------------------------------------------------------------------------------
  > !! Loading Complete, Show Browser [2568 ms]
  > 
----------------------------------------------------------------------------------------------------
  > 
  > 
--------------------
> > 
> 
> In the one that fails I do not see "CefVizTimer Enabled, 50 ms" which
> might be related
> 
> Has happened before - so not introduced with 2.5.7

Does this happen all the time or sometimes?  I see in the first log that
the server never sent the message saying the squeezelite connected to
the server.  Squeezelite uses port 3483, so that can't be blocked.  Are
you able to run squeezelite-win.exe from the command line and see that
it connects to the server?  In any case, I should handle the case where
a confirmation from the server is not received and more gracefully
handle that.

R Greg Dawson



Squeezelite-X
------------------------------------------------------------------------
rgdawson's Profile: http://forums.slimdevices.com/member.php?userid=65236
View this thread: http://forums.slimdevices.com/showthread.php?t=108550

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to