<div dir="ltr">On Fri, Mar 16, 2018 at 4:42 AM, Mark Perkins <span dir="ltr"><<a href="mailto:perkins1724@hotmail.com" target="_blank">perkins1724@hotmail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div text="#000000" bgcolor="#FFFFFF"><span class="">
<p><br>
</p>
<br>
<div class="m_2049166817172155617moz-cite-prefix">On 16/03/18 15:59, Greg Oliver wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr"><br>
<div class="gmail_extra">
<div>​Well that was short lived :)<br>
<br>
</div>
<div>on the code I pulled,
<br>
<br>
[greg@yoga mythtv]$ grep -ri cmdrecfinished *<br>
mythtv/libs/libmythtv/<wbr>mythsystemevent.cpp:    m_settings["<wbr>EventCmdRecFinished"]          = // REC_FINISHED<br>
mythtv/programs/mythbackend/<wbr>config_backend_general.xml:   <wbr>      value="EventCmdRecFinished" label="Recording finished"<br>
mythtv/programs/mythbackend/<wbr>config_backend_general.xml:   <wbr>      help_text="<wbr>EventCmdRecFinished"<br>
<br>
</div>
<div>I have no clue how to match ​m_settings["<wbr>EventCmdRecFinished"]          =<br>
<br>
:)<br>
<br>
</div>
<div>​to something useful.  I am no programmer, but can usually read non-obfuscated (shout out to the perl monks :) code, but this I cannot follow..  oh well.  I guess I will chnage it to a user
 job and be done with it..​</div>
<br>
</div>
</div>
<br>
</blockquote></span>
Copy paste from about a dozen lines above in mythsystemevent.cpp:<br>
    // Event names are programmatically converted to settings names in<br>
    // EventNameToSetting().  For convenience of searching the code<br>
    // base, the event names are listed in comments.<br>
....<span class=""><br>
    m_settings["<wbr>EventCmdRecFinished"]          = // REC_FINISHED<br></span>
        tr("Recording finished");<br>
<br>
Has the execute bit / permissions been checked on the intermediate directories of your script? What is the output of something like:<br>
dir=/12TB/mythtv/; while [ "$dir" != "/" ]; do ls -ald $dir; dir=`dirname $dir`; done<br>
<br></div></blockquote></div><br><div style="font-family:monospace,monospace" class="gmail_default">​Yeah, actually /12TB/mythtv/recordings ​is where I currently record to..  My channel change script is in the same location, so...<br></div><br><div style="font-family:monospace,monospace" class="gmail_default">​Thanks for pointing out the comment - I could have swore I read the whole file, but now that I look at it, I assumed REC_FINISHED was after a comment!  I'll dig some more now.​</div><br></div></div>