<br><br>
<div class="gmail_quote">On Thu, Sep 27, 2012 at 11:36 PM, Jason Flatt <span dir="ltr">&lt;<a href="mailto:jflatt@cox.net" target="_blank">jflatt@cox.net</a>&gt;</span> wrote:<br>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">(sorry if this gets messed up, my phone doesn&#39;t allow me to bottom-post)<br>Absolutely, there&#39;s a few improvements to these scripts that could be made.  I&#39;m not proficient in perl, so I just tacked on a couple more variables to support season/episode.  It is consistent with the rest of the script.  It looks like perl can support sprintf and strftime, which can be used to cut this script nearly in half.  Also, the <a href="http://mythlink.pl/" target="_blank">mythlink.pl</a> should be able to query Program.pm for the list of formatters that can be used, so that they don&#39;t need to be maintained in two places.  I can take a look at these issues when I find time.<br>


<div class="HOEnZb">
<div class="h5">One other note, in my testing of about 10 very recent recordings, only about 5 of them had season and episode numbers, with the output format results being zeroes.  Of course, your results may be different.On 9/26/12 11:34 PM Raymond Wagner wrote:<br>

On 9/26/2012 23:24, Jason Flatt wrote:<br>&gt; +        $rseason = &quot;0$rseason&quot;   if ($rseason &lt; 10);<br>&gt; +        $repisode = &quot;0$repisode&quot; if ($repisode &lt; 10);<br><br>Surely Perl has a better mechanism than that to provide zero padding.<br>

_______________________________________________<br>mythtv-users mailing list<br><a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br><a href="http://www.mythtv.org/mailman/listinfo/mythtv-users" target="_blank">http://www.mythtv.org/mailman/listinfo/mythtv-users</a><br>

<br>_______________________________________________<br>mythtv-users mailing list<br><a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br><a href="http://www.mythtv.org/mailman/listinfo/mythtv-users" target="_blank">http://www.mythtv.org/mailman/listinfo/mythtv-users</a><br>

</div></div></blockquote></div>
<div><br> </div>
<div>late in on this thread but this feature excites me too...</div>
<div>Thanks for the info.</div>
<div>One other feature that would be worthwhile but I don&#39;t think is in there yet would be to distinguish between movies and TV Shows so that links to Movies could be generated into one directory structure and links to TV shows into another. I assume the best way of doing this might be to have <a href="http://mythlink.pl">mythlink.pl</a> read an additional parameter to restrict it&#39;s output to a certain content type. That way you could run it twice, once for each content type in your library.</div>


<div> </div>
<div>Cheers</div>
<div> </div>
<div>Phil</div>
<div> </div>