<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, May 9, 2013 at 10:00 AM, Drew Tomlinson <span dir="ltr"><<a href="mailto:drew@mykitchentable.net" target="_blank">drew@mykitchentable.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Update: I did some more searching and learned how to run mythcommflag manually. I can run it successfully as the mythtv user. Thus something must be off in how the backend calls mythcommflag?<br>
<br>
I ran mythtv-setup. This is my "Commercial Detection Command" in the general settings:<br>
<br>
/usr/bin/ionice -c 2 -n 7 /usr/bin/mythcommflag<br>
<br>
Does this need to be modified? This command works manually as the mythtv user:<br>
<br>
mythtv@mythfe01 ~ $ /usr/bin/ionice -c 2 -n 7 /usr/bin/mythcommflag -f /tv0/record/1010_<u></u>20130509035900.mpg<br>
2013-05-09 09:58:01.915880 C mythcommflag version: fixes/0.26 [v0.26.0] <a href="http://www.mythtv.org" target="_blank">www.mythtv.org</a><br>
2013-05-09 09:58:01.915930 C Qt version: compile: 4.8.4, runtime: 4.8.4<br>
MythTV Commercial Flagger, flagging commercials for:<br>
Modern Family - My Hero<br>
32%/ 851fps<br>
<br>
Thanks,<br>
<br>
Drew<div class="im HOEnZb"><br>
<br>
On 5/9/2013 9:09 AM, Drew Tomlinson wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
After not touching my Mythbox for 2 years, I finally dove into it and upgraded from 0.24 to 0.26. While I have some nagging issues, the main one for me right now is that all commflag jobs exit with an error status of 140. I've searched the web and found some reference to others seeing this intermittently but without resolution beyond "restart the backend and it goes away for a while". In my case, I get this error every time on every job no matter how many times I restart the backend.<br>
<br>
I looked in the log for clues but don't find any I understand. Here's a snippet of my logs:<br>
<br>
2013-05-06 17:03:00.129237 I [2451/5244] Commflag_80787 jobqueue.cpp:2281 (DoFlagCommercialsThread) - JobQueue: Commercial Detection Starting for "The People's<br>
Court":"Breast-Pump Purchase Lands a Father in Court" recorded from channel 1031<br>
at 2013-05-06T23:00:00Z<br>
<br>
2013-05-06 17:03:00.827687 E [2451/5244] Commflag_80787 jobqueue.cpp:2367 (DoFlagCommercialsThread) - JobQueue: Commercial Detection Errored: "The People's Court":"Breast-Pump Purchase Lands a Father in Court" recorded from channel 1031 at 2013-05-06T23:00:00Z (Failed with exit status 140)<br>
<br>
How can I fix this?<br>
<br>
Thanks,<br>
<br>
Drew <br>
</blockquote></div></blockquote></div><br></div><div class="gmail_extra">Do you have the option set to start comm flagging when the recording starts? If so, you may need to disable that because there's allegedly a race condition that causes the comm flagger to error out when it hits the end of the file (as it will frequently if it's trying to work on the file while it's being recorded). This may not be your problem, but it's something to try.<br>
<br></div><div class="gmail_extra">Karl<br></div></div>