philly4;390095 Wrote: > > Edit: Ok, so I found the problem. I would assume this is a bug, but I > don't want to throw spears when I might not be aware of intending > workings. I have suspend as the action to take after idle time. If in > the earlier options I have "Include Suspend as a menu option?" > Selected and "Include Suspend to SqueezeNetwork as a menu option?" > not selected, everything works fine. If I have "Include Suspend as a > menu option?" not selected and "Include Suspend to SqueezeNetwork as a > menu option?" selected, the sleep button will suspend the server and the > monitor idle function will not suspend the server. If I command suspend > to squeezenetwork via the srvrpwercontrol menu on the squeezebox it will > work. Anyone else having this problem? I don't know if this is so much a bug as it's a limitation inherent in the way I've structured the code. If you don't include "suspend" as a menu option, then it's not available as an action. Though I'm really not very OO oriented as a programmer, the plugin keeps an array of action "objects". If the action isn't included in the menu, the object doesn't get created and thus is totally unavailable...not just not displayed.
Thinking about this...yes, I agree that this is a bug. I'll see if I can code a work-around. Thanks for pointing this out. This should have been obvious to me. It's interesting how one develops blind spots to one's own code. philly4;390095 Wrote: > Also, the text of "Include Suspend to SqueezeNetwork in the settings > on squeezecenter is "messed up" is anyone else having this? Messed up how? > What browser on what platform? Could you copy what you see in your web browser and paste here? -- gharris999 ------------------------------------------------------------------------ gharris999's Profile: http://forums.slimdevices.com/member.php?userid=115 View this thread: http://forums.slimdevices.com/showthread.php?t=48521
_______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/lists/listinfo/plugins
