Am 27.02.15 um 08:41 schrieb Michael Herger:
That may be the fault of my SrvrPowerCtrl plugin, however. It attempts
to query mysb.com for attached players at start up. Is there a global
NOMYSQUEEZEBOX variable that I can check at runtime so as to disable
that code in my plugin?
Oh, ok, I see. Yes, main::NOMYSB is set to true when the flag is being
used. You would find it all over the place in the server code.
Heh... just came to realize that some of my plugins do access mysb.com,
too... And it's not as simple as checking main::NOMYSB, as this flag
does not exist in older builds/versions of LMS. I'm probably going to
check whether The SqueezeNetwork module has been loaded:
if $INC{'Slim/Networking/SqueezeNetwork.pm'} {
...
}
--
Michael
_______________________________________________
beta mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/beta