[mythtv-users] (Myth) Archive to hard disk

Chris Pinkham cpinkham at bc2va.org
Wed Jun 27 11:19:42 UTC 2007


* On Wed Jun 27, 2007 at 01:12:26PM +0200, Ma Begaj wrote:
> > So if the cmds value is 4 then your script should stop itself.  If it
> > is 1 then it should pause and then check again every so often until it
> > gets a 2 telling it to resume.
> 
> great ... thanks for the information. very useful.

One other thing, the value is not reset by the JobQueue because it has no
idea whether you have acted on the command or not.  It is up to you to
remember take the appropriate action (ie, allow stopping when paused, etc.)
and reset the field if you want.

You should also update the status column to be more compliant.  If you
pause, you should set the status to 7.  Other statuses are defined in
mythtv/libs/libmythtv/jobqueue.h.

--
Chris


More information about the mythtv-users mailing list