[mythtv-users] add a job to the jobqueue?

Ian Forde ian at duckland.org
Tue Feb 21 08:37:07 UTC 2006


On Mon, 2006-02-20 at 22:47 -0500, Chris Pinkham wrote:
> > How do I add a transcode job to the command queue via command-line?
> > I've noticed the new network socket code doesn't look like it can
> > currently handle it...
> 
> Make up the proper SQL statement based on the format in jobqueue.cpp
> in the JobQueue::QueueJob() method and pipe that SQL command into
> mysql:
> 
> 	echo "select * from recorded;" | mysql -u mythtv -pmythtv mythconverg
> 
> If you're using the default login & password and replacing the
> "select * from recorded;" with your new "INSERT INTO jobqueue blah"
> SQL.  You can get the jobtype from looking at jobqueue.h.  Look at
> jobqueue.h where the QueueJob() method is defined to see the defaults
> for some of the columns.

Excellent.  Just what I needed.  Thanks!

	-Ian



More information about the mythtv-users mailing list