Re: [SlimDevices: Plugins] Activate AutoDim via cli/bash

2009-08-27 Thread peterw
Blu3IcE;452136 Wrote: > Yes, right, but that would be a very ugly hack around the Squeezecenter > since I don't have a get "original_off_time" to restore it. > The client could query the original value, store a new pref that you name ("original_off_time" would do fine) before changing the real

Re: [SlimDevices: Plugins] Activate AutoDim via cli/bash

2009-08-27 Thread Blu3IcE
peterw;452070 Wrote: > If that second cron job runs on the server sometime after the original > off_time and before on_time, you should be all set, right? Yes, right, but that would be a very ugly hack around the Squeezecenter since I don't have a get "original_off_time" to restore it. And becau

Re: [SlimDevices: Plugins] Activate AutoDim via cli/bash

2009-08-26 Thread peterw
Blu3IcE;452051 Wrote: > > > Your current version would do the trick too, but I would have to set up > a cronjob to restore the "original" off_time. > If that second cron job runs on the server sometime after the original off_time and before on_time, you should be all set, right? -- peterw

Re: [SlimDevices: Plugins] Activate AutoDim via cli/bash

2009-08-26 Thread Blu3IcE
He Peter, just saw your post and I think I have to explain what I'm trying to do a little bit more detailed. My Server is running Squeezecenter 24/7. And currently there is no need to change this. The computer in my room which is turned on at least for a short time to check mails once a day is

Re: [SlimDevices: Plugins] Activate AutoDim via cli/bash

2009-08-25 Thread peterw
If you want to try this with AutoDisplay, try version 2.1.8 which is now in my testing repository, http://www.tux.org/~peterw/slim/slim7/repodata-test.xml You will need to be using SqueezeCenter 7.3 -- I have not tested with 7.2, so the installation file for AutoDisplay specifies that SC 7.3 is r

Re: [SlimDevices: Plugins] Activate AutoDim via cli/bash

2009-08-25 Thread peterw
Blu3IcE;451590 Wrote: > > I'm trying to activate the autodim display plugin via CLI. > In other words I want to to trigger the dim time earlier as set in the > options. > > The idear is to send the command while I shutdown my pc in the > evening. > Some bash script will do the trick ...of cours

[SlimDevices: Plugins] Activate AutoDim via cli/bash

2009-08-25 Thread Blu3IcE
Hi, I'm trying to activate the autodim display plugin via CLI. In other words I want to to trigger the dim time earlier as set in the options. The idear is to send the command while I shutdown my pc in the evening. Some bash script will do the trick ...of course with some preconditions depending