<div dir="ltr">Okay I'm getting some wierd stuff happening. For some of my recordings, the Job Queue winds up with successfull completion, but on others it is giving me an error that it can't find the executable (the script).<br>
<br>I have the file in /usr/bin, permissions are right:<br><br><span style="font-family: courier new,monospace;">~ # ls -laF /usr/bin/ | grep removecommercials</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">-rwxr-xr-x 1 bobby2 bobby2 2100 2008-08-08 20:51 removecommercials*</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">-rw-r--r-- 1 bobby2 bobby2 5641 2008-08-08 20:47 removecommercials~</span><br><br>This is from /var/log/mythbackend.log:<br><br><span style="font-family: courier new,monospace;">2008-08-08 20:54:17.701 JobQueue Error: User Job 'removecommercials /media/mythtv Licence to Grill- Skateboard Dude Party- Maple mustard pork burgers; chicken smoked pizza; corn on the cob with chili butter.-07.10.08.mpg' failed, unable to find executable, check your PATH and backend logs.</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">2008-08-08 20:54:17.790 JobQueue: Current PATH: '/bin:/usr/bin:/sbin:/usr/sbin:/usr/X11R6/bin:/opt/bin:/opt/kde/bin:/usr/bin/perlbin/site:/usr/bin/perlbin/vendor:/usr/bin/perlbin/core:/opt/qt/bin'</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">(END) "</span><br><br>Here's my path from /etc/profile:<br><br><span style="font-family: courier new,monospace;">export PATH="/bin:/usr/bin:/sbin:/usr/sbin:/usr/X11R6/bin:/opt/bin</span><br>
<br><br>I'm kind of intermediate at best with linux so hopefully someone can clarify what I've done wrong or am missing here?? My job in mythtv-setup is still:<br><br><span style="font-family: courier new,monospace;">removecommercials %DIR% %FILE%</span><br>
<br><br>Now not only this, but on the recordings that ran the job successfully there is no difference; nothing has been cut. I'm using the entire script from the Talk page as advised by Boleslaw. Is my Job command above incorrect for this version of the script?? This is puzzilng :(<br>
<br>Thanks for any help,<br>
Bob<br><br><br><br><div class="gmail_quote">On Fri, Aug 8, 2008 at 5:31 PM, <span dir="ltr"><<a href="mailto:mythtv@corwyn.net" target="_blank">mythtv@corwyn.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
If you get this working, pls let me know, as I've tried and it<br>
doesn't appear to work.<br>
<div><div></div><div><br>
At 05:20 PM 8/8/2008, Boleslaw Ciesielski wrote:<br>
>Bobby Gill wrote:<br>
> > Thank you, I am here:<br>
> ><br>
> <a href="http://www.mythtv.org/wiki/index.php/Talk:Script_-_RemoveCommercials#honorcutlist_and_mpeg2_lossless_transcoding" target="_blank">http://www.mythtv.org/wiki/index.php/Talk:Script_-_RemoveCommercials#honorcutlist_and_mpeg2_lossless_transcoding</a><br>
> ><br>
> > But this part:<br>
> ><br>
> > "Then the script can be modified as such.<br>
> ><br>
> > CHANID=$3<br>
> > STARTTIME=`echo $4 | sed -e<br>
> 's/\([0-9]\{4\}\)\([0-9]\{2\}\)\([0-9]\{2\}\)\([0-9]\{2\}\)\([0-9]\{2\}\)/\1-\2-\3-\4-\5/'`<br>
> > ....<br>
> > mythtranscode --mpgeg2 --honorcutlist -c $CHANID -s $STARTTIME -o<br>
> $VIDEODIR/$FILENAME.tmp"<br>
> ><br>
> ><br>
> ><br>
> > Where exactly do I add that into the script? I don't wanna put it in the<br>
> > wrong place. Thanks for the links!<br>
><br>
>You should be able to just use the complete script at the end of this page.<br>
><br>
>Bolek<br>
>_______________________________________________<br>
>mythtv-users mailing list<br>
><a href="mailto:mythtv-users@mythtv.org" target="_blank">mythtv-users@mythtv.org</a><br>
><a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users" target="_blank">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br>
<br>
<br>
<br>
_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org" target="_blank">mythtv-users@mythtv.org</a><br>
<a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users" target="_blank">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br>
</div></div></blockquote></div><br></div>