<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div style><span></span></div><div style><meta http-equiv="content-type" content="text/html; charset=utf-8">I really like this addon but I struggled with it just a bit. I wanted to share two things that I found:<div>
<br></div><div>1)</div><div>(This is a condensation of what I found on the googles. I went back and searched but couldn&#39;t find who to attribute this to. My apologies to whomever I am not crediting.)</div><div><br></div>
<div>I was getting a <span style="font-family:&#39;.Helvetica NeueUI&#39;;font-size:17px;text-align:left">&#39;/storage/banners/: Operation not permitted&#39; and found from some googling that my old mythexport user job was griefing me. </span></div>
<div><div style="font-family:&#39;.Helvetica NeueUI&#39;;font-size:17px;text-align:left"><br></div><div style="font-family:&#39;.Helvetica NeueUI&#39;;font-size:17px;text-align:left">Anyway, the User Job that Mythexport assigns starts with a %STARTTIME% command, I changed this to %STARTTIMEUTC% in mythtv-setup and low and behold it started running just like before.</div>
<div style="font-family:&#39;.Helvetica NeueUI&#39;;font-size:17px;text-align:left"><br></div><div style="font-family:&#39;.Helvetica NeueUI&#39;;font-size:17px;text-align:left">If you wanted to fix it at the source the file is </div>
<div style="font-family:&#39;.Helvetica NeueUI&#39;;font-size:17px;text-align:left">/usr/share/mythtv/mythexport/setupsave.cgi line 31</div><div style="font-family:&#39;.Helvetica NeueUI&#39;;font-size:17px;text-align:left">
<br></div><div style="font-family:&#39;.Helvetica NeueUI&#39;;font-size:17px;text-align:left">my $command = &quot;mythexport_addjob starttime=%STARTTIME% chanid=%CHANID% config=$config deleteperiod=$deletePeriod podcastname=$podcastName&quot;;</div>
<div style="font-family:&#39;.Helvetica NeueUI&#39;;font-size:17px;text-align:left"><br></div><div style="font-family:&#39;.Helvetica NeueUI&#39;;font-size:17px;text-align:left">go back into myth export and re-run setup so that this gets shoved into the DB</div>
<div style="font-family:&#39;.Helvetica NeueUI&#39;;font-size:17px;text-align:left"><br></div><div style="font-family:&#39;.Helvetica NeueUI&#39;;font-size:17px;text-align:left">RESTART backend and export</div></div></div>
<div style="font-family:&#39;.Helvetica NeueUI&#39;;font-size:17px;text-align:left"><br></div><div style="font-family:&#39;.Helvetica NeueUI&#39;;font-size:17px;text-align:left">2)</div><div style="font-family:&#39;.Helvetica NeueUI&#39;;font-size:17px;text-align:left">
The above fix resulted in another issue where the mythexport would create a file that ends up wi a broken link -- longer STARTTIME messes with mythexport so you have to change one of the lines in <span style>/usr/bin/mythexport-daemon to change the filename limit from 63 to 61. This is line (in context)</span></div>
<div style="font-family:&#39;.Helvetica NeueUI&#39;;font-size:17px;text-align:left"><span style><br></span></div><div style="text-align:left"><div><font face=".Helvetica NeueUI"><span style><br></span></font></div><div><font face=".Helvetica NeueUI"><span style>    # Trim any characters over 63,</span></font></div>
<div><font face=".Helvetica NeueUI"><span style>    # it seems iTunes does not like files with lengths this long.</span></font></div><div><font face=".Helvetica NeueUI"><span style>    my $x = 61 - $extension;</span></font></div>
<div><font face=".Helvetica NeueUI"><span style>   # my $x = 63 - $extension;</span></font></div><div><font face=".Helvetica NeueUI"><span style>    $newfilename =~ s/^(.*\/(.{1,$x})).*$/$1/g;</span></font></div><div><font face=".Helvetica NeueUI"><span style><br>
</span></font></div><div><font face=".Helvetica NeueUI"><span style><br></span></font></div><div><font face=".Helvetica NeueUI"><span style><br></span></font></div><div><font face=".Helvetica NeueUI"><span style><br></span></font></div>
<div><span style>Just trying to give back a little. Having jobs automatically transcode for my ipad then update my RSS feed then automagically download to my ipad is incredible. Thanks </span></div></div></body></html>