On 10/22/07, <b class="gmail_sendername">Michael T. Dean</b> &lt;<a href="mailto:mtdean@thirdcontact.com">mtdean@thirdcontact.com</a>&gt; wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On 10/22/2007 04:23 PM, B. Rosenstock wrote:<br>&gt; On 10/22/07, Michael T. Dean &lt;<a href="mailto:mtdean@thirdcontact.com">mtdean@thirdcontact.com</a>&gt; wrote:<br>&gt;<br>&gt;&gt; On 10/22/2007 03:42 PM, B. Rosenstock wrote:
<br>&gt;&gt;&gt; from about 4 weeks agi<br>&gt;&gt;&gt; Trying to get mythrename.pl to work - and of course I screwed things<br>&gt;&gt;&gt; up, and I&#39;m trying to fix my database.<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; To get back to default names, I used:
<br>&gt;&gt;&gt; mythrename.pl --format %c_%Y%m%d%H%i%s<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; However, that produced a file such as:<br>&gt;&gt;&gt; 1032_2007102203000.mpg<br>&gt;&gt;&gt; versus the desired:<br>&gt;&gt;&gt; 1032_20071022030000.mpg
<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; It seems either the minutes or seconds isn&#39;t listing with a leading<br>&gt;&gt;&gt; zero.&nbsp;&nbsp;Any ideas?<br>&gt;&gt;&gt;<br>&gt;&gt; mythrename.pl --help<br>&gt;&gt;<br>&gt;&gt; small typo in your format
<br>&gt; This is SVN-trunk.<br>&gt;<br>&gt; I built the line from --help, but I don&#39;t see the typo - can you point it<br>&gt; out to me?<br><br>Ooops.&nbsp;&nbsp;You&#39;re right--no typos.&nbsp;&nbsp;I misread your format (and made an<br>
invalid assumption ;).&nbsp;&nbsp;It turns out mythrename.pl doesn&#39;t yet do<br>leading 0&#39;s on seconds.<br><br>However, on all your recordings, seconds should be less than 10 (as<br>they&#39;re only really used as a counter, and it&#39;s very unlikely that Myth
<br>would have created 11 recordings with the same name--i.e. on the same<br>channel and starting within the same minute).&nbsp;&nbsp;So:<br><br>mythrename.pl --format %c_%Y%m%d%H%i0%s<br><br>should work.<br><br>Or:&nbsp;&nbsp;<a href="http://svn.mythtv.org/trac/ticket/4099">
http://svn.mythtv.org/trac/ticket/4099</a></blockquote><div><br>Got it - thanks. <br></div><br></div><br>