xbmc/xbmc — pull request #1847 by mikrohard (2012-11-25 22:01:16+00:00)
Title: Only use valid CDateTime objects for pvr wakeup command

This commit fixes the problem where daily wakeup never happens if there are no recordings scheduled (the daily wakeup time is compared with an invalid time object). The problem is also described in the forums: http://forum.xbmc.org/showthread.php?tid=145674

I also added a validation check for the datetime object before calling the wakeup script.