[mythtv-users] reconciling database and recorded files

Ryan Steffes rbsteffes at gmail.com
Wed Sep 10 20:35:45 UTC 2008


On Wed, Sep 10, 2008 at 12:49 PM, Mike Holden <mythtv at mikeholden.org> wrote:

> Ryan Steffes wrote:
> > I don't know if anyone is interested in this, I figured if Jerome or
> > someone
> > else was going to look at rewriting the scripts anyway, I should go ahead
> > and munge in some of the features I'd like and see if I can get em to
> > stick.  What I did was snag the end of the rebuilddatabase script and
> > cruelly and maliciously slap it onto the end of the find_orphans script,
> > so
> > after you're done checking for extra files it then asks if you want to
> add
> > them.  Additionally, this one is a bit more storage group aware and now
> by
> > default assumes any backend may write to the same storagegroups.
> >
> > I'd appreciate it if someone else would take a look at how it may be able
> > to
> > be done better, I feel like I missed some of the things the bindings may
> > be
> > able to offer me and I'm only using them in the most rudimentary sense to
> > handle the initial database and storage group work.
>
> Can I be cheeky and add a request to find zero-length files for reporting
> as well? Occasionally my DVB-T will have a brainfart and appear to record
> the program fine but end up with an empty file. Trapping these sooner
> rather than later means a better chance of being able to re-schedule the
> recording while it is still in the schedules.
>
> Thanks.
> --
> Mike Holden
>
>  <http://www.by-ang.com>


Default is now to point out files that aren't png files that are smaller
than ~10MB (actually 1e7 bytes).

--size_limit takes a size in bytes, cause I wasn't slick enough to quickly
parse human readable
--nosize tells it to shut up about file sizes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20080910/20a30533/attachment-0001.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: myth.filemaintenance.pl
Type: application/octet-stream
Size: 21847 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-users/attachments/20080910/20a30533/attachment-0001.obj 


More information about the mythtv-users mailing list