<div dir="ltr"><br><br><div class="gmail_quote">On Wed, Sep 10, 2008 at 12:49 PM, Mike Holden <span dir="ltr">&lt;<a href="mailto:mythtv@mikeholden.org">mythtv@mikeholden.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">Ryan Steffes wrote:<br>
&gt; I don&#39;t know if anyone is interested in this, I figured if Jerome or<br>
&gt; someone<br>
&gt; else was going to look at rewriting the scripts anyway, I should go ahead<br>
&gt; and munge in some of the features I&#39;d like and see if I can get em to<br>
&gt; stick. &nbsp;What I did was snag the end of the rebuilddatabase script and<br>
&gt; cruelly and maliciously slap it onto the end of the find_orphans script,<br>
&gt; so<br>
&gt; after you&#39;re done checking for extra files it then asks if you want to add<br>
&gt; them. &nbsp;Additionally, this one is a bit more storage group aware and now by<br>
&gt; default assumes any backend may write to the same storagegroups.<br>
&gt;<br>
&gt; I&#39;d appreciate it if someone else would take a look at how it may be able<br>
&gt; to<br>
&gt; be done better, I feel like I missed some of the things the bindings may<br>
&gt; be<br>
&gt; able to offer me and I&#39;m only using them in the most rudimentary sense to<br>
&gt; handle the initial database and storage group work.<br>
<br>
</div>Can I be cheeky and add a request to find zero-length files for reporting<br>
as well? Occasionally my DVB-T will have a brainfart and appear to record<br>
the program fine but end up with an empty file. Trapping these sooner<br>
rather than later means a better chance of being able to re-schedule the<br>
recording while it is still in the schedules.<br>
<br>
Thanks.<br>
<font color="#888888">--<br>
Mike Holden<br>
<br>
<a href="http://www.by-ang.com" target="_blank"></a></font></blockquote><div><br>Default is now to point out files that aren&#39;t png files that are smaller than ~10MB (actually 1e7 bytes).<br><br>--size_limit takes a size in bytes, cause I wasn&#39;t slick enough to quickly parse human readable<br>
--nosize tells it to shut up about file sizes<br>&nbsp;</div></div><br></div>