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 because of the separated client server architecture "original_off_time" could only be read by the client (which is the only one who knows the time he sends the earlier off_time) but the cron job (who needs this "original_off_time") has to be on the server. Without restore I could reduce it all to this: In the evening/or at client shutdown: echo '00:04:20:xx:xx:xx playerpref powerOffBrightness 0' | nc 192.168.x.x 9090 -w1 >>/dev/null In the morning: echo '00:04:20:xx:xx:xx playerpref powerOffBrightness 4' | nc 192.168.x.x 9090 -w1 >>/dev/null But for a real integration to Squeezeserver I would really appreciate a solution that not includes any cron jobs. -- Blu3IcE System: Ubuntu, SqueezeCenter-Version: 7.3 Player: Squeezebox v3 @ Bose LifeStyle Series III Plugins: TrackStat, SugarCube, Dynamic Playlists, AutoDim ------------------------------------------------------------------------ Blu3IcE's Profile: http://forums.slimdevices.com/member.php?userid=13792 View this thread: http://forums.slimdevices.com/showthread.php?t=67034 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/plugins
