RobbH wrote: 
> ...and... while a genuine solution would be nice to have, I am perfectly
> happy to have finally realized that a workaround has been staring me in
> the face all this time. As an old and ungrammatical saying puts it, if
> it was a snake it woulda bit me.
> 
> I already had a cron job running at startup that runs a script that
> waits 45 seconds before starting squeezelite, among other things. I've
> added a command to restart LMS 60 seconds later. So far everything seems
> to be working the way I want it to.
> 
> Thanks again for all the help, Ronnie and Philippe!

What should be done then is to have the LMS startup script wait for
network to be up & connected. Maybe a systemd unit would be an good
solution but I've not looked at how it works today. The bridge cannot
adapt to its main IP address changes (players's IP change works,
though). Another solution would be for the Perl's part of the bridge to
register a callback when LMS's IP changes and restart the helper.



LMS 7.9  on Pi 3B+ & Odroid-C2 - *SqueezeAMP!*, 5xRadio, 3xBoom, 4xDuet,
1xTouch, 1 SB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000,
ShairPortW, JRiver 21, 2xChromecast Audio, Chromecast v1 and v2,
Squeezelite on Pi,  Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5,
Riva 1 & 3
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=105198

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

Reply via email to