On Wed, 16 Feb 2005 09:06:35 -0400, Greg <[EMAIL PROTECTED]> wrote:
> 
> >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
> 

Okay folks, here's a patch to allow users to start User Jobs from the
Job Options menu just like you can do with transcoding and commercial
flagging.  I'm pretty confident that it works 100%, but please let me
know if anyone runs into any problems with it.

Also, please be aware that while I am very familiar with coding in C
my C++ experience is VERY limited.  This is, in fact, my first ever
patch to C++ code so if there's some ugly code in there or something
not done correctly please feel free to point it out to me - I'd
appreciate the education. :)

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

Reply via email to