<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">On 5/9/2013 10:34 AM, Karl Newman
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAOOwNtJFWFL+2iby=XjwCANVULLBCiQpocjzsRfctv9GsPk-zA@mail.gmail.com"
      type="cite">
      <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">&lt;<a moz-do-not-send="true"
                href="mailto:drew@mykitchentable.net" target="_blank">drew@mykitchentable.net</a>&gt;</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. &nbsp;I can run it successfully as the
              mythtv user. &nbsp;Thus something must be off in how the
              backend calls mythcommflag?<br>
              <br>
              I ran mythtv-setup. &nbsp;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? &nbsp;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_20130509035900.mpg<br>
              2013-05-09 09:58:01.915880 C &nbsp;mythcommflag version:
              fixes/0.26 [v0.26.0] <a moz-do-not-send="true"
                href="http://www.mythtv.org" target="_blank">www.mythtv.org</a><br>
              2013-05-09 09:58:01.915930 C &nbsp;Qt version: compile: 4.8.4,
              runtime: 4.8.4<br>
              MythTV Commercial Flagger, flagging commercials for:<br>
              &nbsp; &nbsp; Modern Family - My Hero<br>
              &nbsp;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. &nbsp;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. &nbsp;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". &nbsp;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>
                  &nbsp;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>
        </div>
      </div>
    </blockquote>
    <br>
    Hi Karl,<br>
    <br>
    Thanks for your reply.&nbsp; No, I do not have that box checked. <br>
    <br>
    Thanks,<br>
    <br>
    Drew<br>
    <pre class="moz-signature" cols="72">-- 
Like card tricks?

Visit The Alchemist's Warehouse to 
learn card magic secrets for free!

<a class="moz-txt-link-freetext" href="http://alchemistswarehouse.com">http://alchemistswarehouse.com</a></pre>
  </body>
</html>