[mythtv-users] How do I remove recordings without files
jedi
jedi at mishnet.org
Fri Mar 6 02:07:37 UTC 2009
On Thu, Mar 05, 2009 at 07:32:10PM -0500, Michael T. Dean wrote:
> On 03/05/2009 06:50 PM, Robert McNamara wrote:
>> On Thu, Mar 5, 2009 at 3:46 PM, Owen Townend 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:
>>>>> /GetPlaybackURL/UNABLE/TO/FIND/LOCAL/FILE/ON/media/2098_20081123180345.mpg.
>>>>>
>>>>> 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).
>
> Or those who are so excited about the functionality that they're willing
That's a bit more work and you're really talking about a whole
other level of excitement there. '-)
> to work on creating it themselves could rewrite (the old, legacy,
> unmaintained, use-at-your-own-risk) myth.find_orphans.pl properly--using
> the Perl bindings... (And feel free to redesign it (including
[deletia]
More information about the mythtv-users
mailing list