<br><br><div class="gmail_quote">On Wed, Sep 7, 2011 at 11:18 PM, Raymond Wagner <span dir="ltr">&lt;<a href="mailto:raymond@wagnerrp.com">raymond@wagnerrp.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On 9/7/2011 23:44, Ronald Frazier wrote:<br>
&gt;&gt; Does anyone have experience doing this successfully?<br>
&gt;&gt;<br>
&gt;&gt; I changed the command on mine to run a custom transcoding script based on<br>
&gt;&gt; the &#39;transcode wrapper stub&#39; from the wiki.  When this runs it spits out an<br>
&gt;&gt; error in the log files:<br>
&gt;&gt;<br>
&gt;&gt; 2011-09-05 17:07:53.291 transcode: Transcode Errored: &quot;Between the Lions&quot;:<br>
&gt;&gt; Autodetect (exit status 0, job status was &quot;Starting&quot;)<br>
&gt;&gt;<br>
&gt;&gt; The script however seems to have worked correctly.  Does anyone know what<br>
&gt;&gt; may be causing this error?<br>
&gt; Although I haven&#39;t actually used it in quite a while, I did setup a<br>
&gt; custom transcoding script under mythtv 0.22. As I recall, the problem<br>
&gt; is that the transcoding job is responsible for updating the job status<br>
&gt; information in the database.<br>
<br>
</div>Funky.  Correct, but funky.<br>
<br>
<a href="https://github.com/MythTV/mythtv/blob/master/mythtv/libs/libmythtv/jobqueue.cpp#L2033" target="_blank">https://github.com/MythTV/mythtv/blob/master/mythtv/libs/libmythtv/jobqueue.cpp#L2033</a><br>
<div class="im"><br>
&gt; I also don&#39;t know if there is a better, more official way to do it,<br>
&gt; but this has worked fine for me in the past.<br>
<br>
</div>The Job class in the Python bindings provides cleaner access to these<br>
database attributes.  It does the same thing, but the SQL is<br>
automatically generated by changes made to the Job object, and it uses a<br>
persistent connect to the database rather than opening a new one for<br>
each command.  I&#39;ve updated the stub on the wiki to perform the<br>
necessary change.<br></blockquote><div><br>Great!  I copied in the two lines you added, and if I deciphered the code correctly, I should be specifying the --jobid instead of --chanid %CHANID% --starttime %STARTTIME%.<br>
<br>Is that correct?<br><br>Thanks,<br><br>Jeremy<br></div></div><br>