Re: [vdr] Forced boot once a day

2014-09-18 Thread Udo Richter
Am 17.09.2014 20:44, schrieb Thomas Maaß: > How can I compare the wakeup times in a bash script? A "0" is given when no > timer is present? Basically, something like this: boottime="$1" if [ "$1" -eq 0 -o "$1" -gt "$tomorrow" ] ; then boottime="$tomorrow" fi After that, use $boottime inste

Re: [vdr] Forced boot once a day

2014-09-17 Thread Thomas Maaß
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 I think I will modify my shutdown script. I thought VDR could care of this. However such a daily wakeup only makes sense, when epgsearch's searchtimer is used. Without epgsearch such a wakeup is useless. How can I compare the wakeup times in a bash

Re: [vdr] Forced boot once a day

2014-09-15 Thread VDR User
Why don't you just use a cron job for this? >>> Why to use cron if the ACPI wakeup addon has a setting for this? >> Because you don't need to bother with a whole plugin just for that. >> > It is an addon, no plugin, just some scripts and there is a big chance > that it is already installe

Re: [vdr] Forced boot once a day

2014-09-14 Thread Udo Richter
Am 14.09.2014 12:02, schrieb Thomas Maaß: > Maybe an option could be added to VDR to force a boot once a > day. When the next timer is later than a specific time, set the > wakeup time to this time. You could hack this into the shutdown script itself. Tomorrow=$(($(date +%s)+86400)) would be th

Re: [vdr] Forced boot once a day

2014-09-14 Thread Gerald Dachs
Am 14.09.2014 um 19:42 schrieb VDR User: >>> Why don't you just use a cron job for this? >>> >> Why to use cron if the ACPI wakeup addon has a setting for this? > Because you don't need to bother with a whole plugin just for that. > It is an addon, no plugin, just some scripts and there is a big ch

Re: [vdr] Forced boot once a day

2014-09-14 Thread VDR User
>> Why don't you just use a cron job for this? >> > Why to use cron if the ACPI wakeup addon has a setting for this? Because you don't need to bother with a whole plugin just for that. But, if the end result is the same then who cares how you got there I guess. My preference is to not make things

Re: [vdr] Forced boot once a day

2014-09-14 Thread Gerald Dachs
Am 14.09.2014 um 17:07 schrieb VDR User: > Why don't you just use a cron job for this? > > Why to use cron if the ACPI wakeup addon has a setting for this? Gerald !DSPAM:5415b51e652171744718748! ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv

Re: [vdr] Forced boot once a day

2014-09-14 Thread Karsten Müller
Why don't you add a 5 minute every day timer with a low priority and automatic deletion? That should pretty much do the trick. jm2c. On 14. September 2014 12:02:09 MESZ, "Thomas Maaß" wrote: >Hi! >I use epgsearch's searchtimer to record my favorite series. >But there could be a problem when us

Re: [vdr] Forced boot once a day

2014-09-14 Thread VDR User
Why don't you just use a cron job for this? On Sun, Sep 14, 2014 at 3:02 AM, Thomas Maaß wrote: > Hi! > I use epgsearch's searchtimer to record my favorite series. > But there could be a problem when using automatic shutdown > and wakeup. When there is no event in the current epg, the > searchtim

Re: [vdr] Forced boot once a day

2014-09-14 Thread AlexW
Am Sun, 14 Sep 2014 12:02:09 +0200 schrieb Thomas Maaß : |Hi! |I use epgsearch's searchtimer to record my favorite series. |But there could be a problem when using automatic shutdown |and wakeup. When there is no event in the current epg, the |searchtimer will not be updated any more. The shutdown

Re: [vdr] Forced boot once a day

2014-09-14 Thread Gerald Dachs
Am 14.09.2014 um 12:02 schrieb Thomas Maaß: > Hi! > I use epgsearch's searchtimer to record my favorite series. > But there could be a problem when using automatic shutdown > and wakeup. When there is no event in the current epg, the > searchtimer will not be updated any more. The shutdown script >