[mythtv-users] reconciling database and recorded files

jedi jedi at mishnet.org
Wed Sep 10 17:09:12 UTC 2008

On Wed, Sep 10, 2008 at 05:49:21PM +0100, Mike Holden 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

    Nevermind reporting. It would be nice if the backend did this check to
recent recordings and did cleanup on it's own without manual intervention.
Even better would be a minimum file size that the user can set. The HD-PVR
tends to occasionally create not-quite-zero-length files when it barfs 

> 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.

More information about the mythtv-users mailing list