[mythtv-users] How do I remove recordings without files
robert.mcnamara at gmail.com
Thu Mar 5 23:50:48 UTC 2009
On Thu, Mar 5, 2009 at 3:46 PM, Owen Townend <owen.townend at gmail.com> wrote:
> Kirk Fitzpatrick wrote:
>> Henrik Beckman wrote:
>>> Ie got a bunch of these
>>> 2009-03-04 13:05:11.587 ERROR when trying to delete file:
>>> File does
>>> n't exist. Database metadata will not be removed.
>>> How can I remove them.
>> Here's a script I use that checks all DB entries have a file associated
>> with them, otherwise it deletes them (the DB entries);
> Handy script, but it doesn't deal well with storage groups...
> Perhaps something like this:
Or one could just use the myth.find_orphans.pl script in the contrib
directory. ;) It handles storage groups, and has options both to
reconcile the files against the database (--dodelete) and the database
against the files (--dodbdelete).
More information about the mythtv-users