[mythtv-users] Metadata Lookup Errored in Backend Log - On Every Recording.
Michael T. Dean
mtdean at thirdcontact.com
Fri Feb 3 18:15:25 UTC 2012
On 02/03/2012 12:49 PM, Greg Grotsky wrote:
> On Fri, Feb 3, 2012 at 10:39 AM, Michael T. Dean wrote:
>> Delete the existing, broken, 0-byte config.xml, then run mythtv-setup or
>> mythfrontend.
> That did it, now the script works. I'm guessing it is a good idea to run
> this periodically and delete the orphan files? I don't have any slave
> backends or anything just a single backend.
In theory you'll never get any orphans unless "someone" does something bad.
a) Something deletes MythTV recording files via the file system
rather than using MythTV to delete them.
b) Something edits the database directly.
c) A HDD dies and you lose files as a result (in this case, running
find_orphans.py is a good idea).
So, really, there's no reason to run it unless someone does bad things
or you lose a HDD.
FWIW, I've never had any orphaned recording files (files without
metadata in my database) and the only orphaned recording metadata (with
missing files on the file system) I've ever had were due to losing files
when HDDs fail. I do, occasionally, get a few orphaned preview images,
but their total size is always tiny compared to recordings and, we'll
likely prevent that from occurring with changes coming for 0.26.
Mike
More information about the mythtv-users
mailing list