<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Aug 5, 2016, at 5:33 PM, John Pilkington <<a href="mailto:J.Pilk@tesco.net" class="">J.Pilk@tesco.net</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">On 05/08/16 22:21, George Bingham wrote:</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><blockquote type="cite" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">On Fri, Aug 5, 2016 at 10:47 AM, Jim Abernathy <<a href="mailto:jfabernathy@outlook.com" class="">jfabernathy@outlook.com</a><br class=""><<a href="mailto:jfabernathy@outlook.com" class="">mailto:jfabernathy@outlook.com</a>>> wrote:<br class=""><br class="">   I posted this in mythv forum, but not sure if that was the place for<br class="">   it.  In 0.27 I used the following procedure to process some OTA TV<br class="">   recordings I wanted to save on a NAS:<br class=""><br class="">   1. using mythfrontend, I'd edit the recording using the detected<br class="">   commercial list and fix any issues and save the edited list to the<br class="">   cutlist.<br class="">   2. I'd run the command:<br class=""><br class="">   mythtranscode --chanid 1111 --starttime 20160805000000 --mpeg2<br class="">   --honorcutlist -o new-output-file.mpg<br class=""><br class="">   3. use handbrake to convert the .mpg file and put if on my NAS<br class=""><br class="">   Using this method I still had the original file within Mythtv.<br class=""><br class="">   In version 0.28 mythtranscode will create 'new-output-file.mpg' but<br class="">   it deletes the original and now mythfrontend can't find it and gets<br class="">   an error.<br class=""><br class="">   If I do not use the -o option it behaves correctly and mythfrontend<br class="">   finds the same program and plays it but the cutlist has been applied<br class="">   and deleted.<br class=""><br class="">   BTW, using the extension .ts instead of .mpg doesn't change the<br class="">   behavior.<br class=""><br class="">   I see nothing in the 0.28 information that says the intent of<br class="">   mythtranscode changed from 0.27 to 0.28.<br class=""><br class="">   Not sure of the rules here, but I've attached the console log to<br class="">   this email.<br class=""><br class=""><br class="">   _______________________________________________<br class="">   mythtv-users mailing list<br class="">   <a href="mailto:mythtv-users@mythtv.org" class="">mythtv-users@mythtv.org</a><span class="Apple-converted-space"> </span><<a href="mailto:mythtv-users@mythtv.org" class="">mailto:mythtv-users@mythtv.org</a>><br class="">   <a href="http://lists.mythtv.org/mailman/listinfo/mythtv-users" class="">http://lists.mythtv.org/mailman/listinfo/mythtv-users</a><br class="">   <<a href="http://lists.mythtv.org/mailman/listinfo/mythtv-users" class="">http://lists.mythtv.org/mailman/listinfo/mythtv-users</a>><br class="">   <a href="http://wiki.mythtv.org/Mailing_List_etiquette" class="">http://wiki.mythtv.org/Mailing_List_etiquette</a><br class="">   <<a href="http://wiki.mythtv.org/Mailing_List_etiquette" class="">http://wiki.mythtv.org/Mailing_List_etiquette</a>><br class="">   MythTV Forums: <a href="https://forum.mythtv.org" class="">https://forum.mythtv.org</a><br class=""><br class=""><br class=""><br class=""><br class="">Hi Jim,<br class=""><br class="">I do much the same thing for some of my shows, and I have found that if<br class="">my script makes a copy of the original recording into the original<br class="">storage directory, but with a '.tmp' extension, then the mythtranscode<br class="">step will behave as expected.<br class=""><br class="">I do think it's a bug in that it doesn't make that backup copy, but if<br class="">that .tmp file is there, it will delete the original after it has been<br class="">transcoded, but recopy (or perhaps rename) the .tmp file back to it's<br class="">original filename (in my case it's .ts, but previous versions would be<br class="">.mpg).<br class=""><br class="">Just add that step to your transcode script near the beginning.<br class=""><br class="">The end result is that the original show is still in your listings and<br class="">playable and all, but there is no longer a cutlist associated with it. I<br class="">presume running mythcommflag or whatever it's called will re-create one,<br class="">or it can be done manually, but all I want is to have the opportunity to<br class="">try again should something else go wrong with the transcoding steps.<br class="">Generally it works correctly so after it's been transcoded and saved<br class="">away, I just manually delete it.<br class=""><br class="">Hope this helps.<br class=""><br class="">George<br class=""></blockquote><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">I see this has appeared as Ticket #12845, and I added a comment there. It's quite similar to #12698 and it looks to me as if</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="https://www.mythtv.org/wiki/Copy_and_transcode.pl" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">https://www.mythtv.org/wiki/Copy_and_transcode.pl</a><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">should do what is wanted.  But I haven't used it myself :-)</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">John P</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""></div></blockquote><div><br class=""></div>I’ll play with the script you referred to but I see it uses the -o option so not sure how that is going to work.  </div><div><br class=""></div><div>Jim A</div><div><br class=""><blockquote type="cite" class=""><div class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">_______________________________________________</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">mythtv-users mailing list</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="mailto:mythtv-users@mythtv.org" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">mythtv-users@mythtv.org</a><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="http://lists.mythtv.org/mailman/listinfo/mythtv-users" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">http://lists.mythtv.org/mailman/listinfo/mythtv-users</a><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="http://wiki.mythtv.org/Mailing_List_etiquette" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">http://wiki.mythtv.org/Mailing_List_etiquette</a><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">MythTV Forums:<span class="Apple-converted-space"> </span></span><a href="https://forum.mythtv.org/" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">https://forum.mythtv.org</a></div></blockquote></div><br class=""></body></html>