rgdawson wrote: 
> Right now, SLX waits for a confirmation from the server after starting
> the player before loading the page.  For Material Skin, I can't write to
> its local storage until the page has initially loaded, so I wait until
> LoadEnd before setting the player and then reload.  SLX, before setting
> the player ID, checks to see if the player Id actually needs to be
> changed and also that the player is connected.  I could remove that last
> check and just set it anyway.
> 
> 
> When Material loads, it actually loads multiple times as it decides what
> layout to use.  I think manipulating its local storage (only done on
> startup and changing servers) and querying the server state while it is
> loading multiple times is less than ideal and may not be as reliable as
> I like.  So I am going to investigate this and see if I can find a
> better way.
> 
> R Greg Dawson

Thanks, removing that last check may be all we need. As that could
result in a permanently disconnected player being selected, I suggest
making it an option that must be anually enabled (as "hard default", or
something).



LMS: SGC microJukebox running Sonicorbiter OS
Control apps: Squeezelite-X on Win 10; Squeezer or Material web app on
Android
Players: Duet, Touch (two), Mac SqueezePlay, Win Squeezelite-X on laptop
and HTPC
------------------------------------------------------------------------
left channel's Profile: http://forums.slimdevices.com/member.php?userid=67918
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