<div dir="ltr"><br><br><div class="gmail_quote">On Wed, Sep 10, 2008 at 12:49 PM, Mike Holden <span dir="ltr"><<a href="mailto:mythtv@mikeholden.org">mythtv@mikeholden.org</a>></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>
> I don't know if anyone is interested in this, I figured if Jerome or<br>
> someone<br>
> else was going to look at rewriting the scripts anyway, I should go ahead<br>
> and munge in some of the features I'd like and see if I can get em to<br>
> stick. What I did was snag the end of the rebuilddatabase script and<br>
> cruelly and maliciously slap it onto the end of the find_orphans script,<br>
> so<br>
> after you're done checking for extra files it then asks if you want to add<br>
> them. Additionally, this one is a bit more storage group aware and now by<br>
> default assumes any backend may write to the same storagegroups.<br>
><br>
> I'd appreciate it if someone else would take a look at how it may be able<br>
> to<br>
> be done better, I feel like I missed some of the things the bindings may<br>
> be<br>
> able to offer me and I'm only using them in the most rudimentary sense to<br>
> 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't png files that are smaller than ~10MB (actually 1e7 bytes).<br><br>--size_limit takes a size in bytes, cause I wasn't slick enough to quickly parse human readable<br>
--nosize tells it to shut up about file sizes<br> </div></div><br></div>