<div dir="ltr"><div dir="ltr"> Tue, Dec 18, 2018 at 3:19 AM John Pilkington <<a href="mailto:johnpilk222@gmail.com">johnpilk222@gmail.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 18/12/2018 00:09, Richard Shaw wrote:<br><br>
I misunderstood your wish to rename your recording.  I use this in <br>
mythDVBcut to rename after conversion from .ts to .mpg<br>
<br>
{{{<br>
<br>
    # tell mythDB about new filename and set the 'transcoded' flag<br>
    echo "update recorded set basename='${OUTFILE}', transcoded = 1 <br>
where recordedid = '$recordedid' ; " |<br>
    mysql -N -u${DBUserName} -p${DBPassword} -h${DBLocalHostName} ${DBName}<br>
<br>
<br>
    # Update the container type, needed for uPnP playback.  Empty will <br>
work too, if the transcoded flag is set.<br>
    # This is a HACK pending 0.28 release, when mythutil should do it. <br>
See Ticket #12388<br>
<br>
    echo "update recordedfile set basename = '${OUTFILE}', container = <br>
'MPEG2-PS' where recordedid = '$recordedid' ;" |<br>
    mysql -N -u${DBUserName} -p${DBPassword} -h${DBLocalHostName} ${DBName}<br>
<br>
}}}</blockquote><div><br></div><div>I would rather not do direct DB manipulation but this looks pretty straightforward...</div><div><br></div><div>Thanks,</div><div>Richard </div></div></div>