<div dir="ltr"><div class="gmail_extra"><div><div class="gmail_signature" data-smartmail="gmail_signature"><br></div></div>
<br><div class="gmail_quote">On Sun, Nov 20, 2016 at 4:37 PM, Paul Gardiner <span dir="ltr"><<a href="mailto:lists@glidos.net" target="_blank">lists@glidos.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 20/11/2016 20:31, George Bingham wrote:<br>
</span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
On Sun, Nov 20, 2016 at 8:38 AM, Stuart Auchterlonie<br></span><span class="">
<<a href="mailto:stuarta@squashedfrog.net" target="_blank">stuarta@squashedfrog.net</a> <mailto:<a href="mailto:stuarta@squashedfrog.net" target="_blank">stuarta@squashedfrog.n<wbr>et</a>>> wrote:<br>
<br>
    On 20/11/16 14:35, Paul Gardiner wrote:<br>
<br>
        For some years now, I've been using mythtranscode in --fifodir mode,<br>
        often running it several times on the same recording to transcode<br>
        different parts. All has worked well, until I updated to v 0.28:<br>
        now it seems mythtranscode deletes the original file even in<br>
        --fifodir<br>
        mode. Madness! Any way I can stop it doing that?<br>
<br>
<br>
    Known issue, a patch is being worked on.<br>
<br></span><span class="">
If you manually link the original recording and give the link a ".tmp"<br>
extension, then the mythtranscode command will not delete the original<br>
recording and restore it from the .tmp link - provided that you have it<br>
set in the mythbackend settings to preserve the original recording.<br>
</span></blockquote>
<br>
Is that a link in the linux sense? Does it matter soft or hard? I<br>
might add that to my script as a work around for now. Do you know<br>
what the logic is behind that behaviour - why it needs both the<br>
.tmp file and the setting?<br>
<br>
Cheers,<br>
        Paul.<div class="HOEnZb"><div class="h5"><br>
______________________________<wbr>_________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org" target="_blank">mythtv-users@mythtv.org</a><br>
<a href="http://lists.mythtv.org/mailman/listinfo/mythtv-users" rel="noreferrer" target="_blank">http://lists.mythtv.org/mailma<wbr>n/listinfo/mythtv-users</a><br>
<a href="http://wiki.mythtv.org/Mailing_List_etiquette" rel="noreferrer" target="_blank">http://wiki.mythtv.org/Mailing<wbr>_List_etiquette</a><br>
MythTV Forums: <a href="https://forum.mythtv.org" rel="noreferrer" target="_blank">https://forum.mythtv.org</a><br>
</div></div></blockquote></div><br></div><div class="gmail_extra"><br></div><div class="gmail_extra">I think the bug is that mythtranscode is not backing up the file itself before operating on it, but if your script does the backing up (and I use a hard link, haven't tried it with a soft link) then mythtranscode will restore it using the link at the end.  </div><div class="gmail_extra"><br></div><div class="gmail_extra">Not a developer here, so I don't really know, but when I first discovered this when I moved to 0.28 a while ago, I started working around it by making a copy to a tmp file, when someone on this list suggested I link it instead. I tested it out and it works, so that's what I do now.</div><div class="gmail_extra"><br></div><div class="gmail_extra">George</div></div>