While I don't currently have any User Jobs set up, I've been wanting
to dive into the myth code a little bit and this seems like a fairly
trivial task and hence, a good starting place for me.  I pulled the
latest cvs last night and I believe I have this working correctly.  I
need to do some more testing on it and create a patch, but as soon as
that's done I'll post the patch.

As it stands right now User Jobs will show up in the 'Job Options'
menu if there is a command specified for that job (i.e., if you only
specified a command for User Job 1 then User Job 1 will be in the
menu, but 2, 3 and 4 will not).  The menu options for User Jobs pretty
much duplicate the Transcoding and Commercial Flagging menus in that
if the job is already schedule the menu item will allow you to stop
it, if not you can start the job from the menu.

As Chris pointed out in his previous message, external programs won't
be able to stop unless they're written to check the job queue table
for the stop message, but I figured it's better to have it in there
for now since folks could very well write apps to check for that.

Brad

Thanks Brad... The modifications you made will work fine for me as all I wanted was some way to easily start a custom job...

Greg
_______________________________________________
mythtv-users mailing list
[email protected]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

Reply via email to