[mythtv-users] reconciling database and recorded files
rbsteffes at gmail.com
Wed Sep 10 19:26:24 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
> > them. Additionally, this one is a bit more storage group aware and now
> > 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.
> Mike Holden
That's actually not bad, extremely tiny non-thumbnail files may show up for
a lot of reasons, like backend failures/reboots during recordings. Should
be a relatively easy way to poke at that.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the mythtv-users