[mythtv-users] How to detect whether backend is recording or scheduled?

Brad Fuller bradallenfuller at yahoo.com
Thu Dec 28 18:34:12 UTC 2006

Matthew Wire wrote:
> I would like to run a command that sets the wakeup time for the next
> scheduled recording and shuts down if a recording is not currently
> taking place.
> I can't currently work out how to do this.
> 1. Test whether the local backend is recording.
> 2. Set scheduled wakeup time (This is only set in the backend scheduler
> when it is about to shutdown).
> Any ideas?  I've thought about adding code to mythshutdown or adding
> code to the scheduler to set the new wakeup time on every schedule
> change but not really sure what is the best route.
> Thankyou,
> Matthew

have you looked at nvram-wakeup and this?


> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

More information about the mythtv-users mailing list