danco;476574 Wrote: 
> It was my misunderstanding. Sure enough, the label shows up and the
> command can be executed, when I use my player and select SvrPowerCtl
> from the Extras menu. I haven't tried the others, but I'm sure they are
> ok.
> 
> But I was expecting something more that does not seem to occur, and
> that would be useful.
> 
> When I go to the Settings page for SvrPowerCtl then in a number of
> places (Idle Player Monitor, End of Day, and others) there is a pop-up
> list of actions that can be chosen. This seems to be hard-coded at
> present, and it would be good if any custom commands were available in
> this list to be chosen.
Ah.  I see.  I thought about that when I started adding the custom cmd
stuff.  My initial thought was that this wasn't needed.  Any of the
'pre-defined' actions (shutdown, suspend, etc.) are potentially custom
commands since the command to be executed is up to the user. Only the
label is fixed.  And, as long as the user hasn't entered both a label
and a command in any given custom command pair, the corresponding custom
'action' doesn't exist.  So, while I could add 'Custom Command 1',
'Custom Command 2', etc. to the drop-down list of actions, the
corresponding action may not exist and an error condition will result at
run-time.

On the other hand, this is easy enough to try.  As a test, which drop
down on the setting page would you like to see include the custom
actions?


-- 
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/mailman/listinfo/plugins

Reply via email to