No wakeup for “multiday” recordings

Hi there,

Not sure if this is a kodi.pvr.vnsi problem or a general kodi problem, I thought I’d try it here first.

I’ve set up the Kodi power save option running /usr/bin/setwakeup.sh before shutdown. For normal recordings this works like a charm, the htpc wakes up, records, goes to sleep.

I do have some recordings that run every Monday and Friday though where the htpc refuses to wake. Format in timers.conf is this:

Code:
1:C-1-101-1:M---F--:0553:0628:1:1:test:

cat /usr/bin/setwakeup.sh

Code:
#!/bin/sh
sudo sh -c "echo 0 > /sys/class/rtc/rtc0/wakealarm"
sudo sh -c "echo $1 > /sys/class/rtc/rtc0/wakealarm"

Kodi debug: http://pastebin.com/raw/4TbhUJE5

These timers are not shown in the “TV/Timers” in kodi itself so I guess that is most likely the problem, anything I can do about this?