[mythtv-users] Orphan recordings cleaned up?
Michael T. Dean
mtdean at thirdcontact.com
Sat Dec 18 17:20:20 UTC 2010
On 12/18/2010 09:33 AM, dargllun wrote:
> On 18.12.2010 14:14, David Snider wrote:
>>
>> On Dec 17, 2010, at 1:36 PM, Harry Coin wrote:
>>
>>> Ok. What's the procedure to determine which recording files in any
>>> given directory holding recordings are not in the database?
>>>
>>> I need an 'Orphan Recording Identification' procedure. Once I have
>>> that, the idea of keeping the ones we like as videos makes sense.
>>
>> I would just use mythname.pl (on Gentoo, it's in the contrib
>> directory). Let say your recordings are in /mythtv/tv
>>
>> find /mythtv/tv -type f -exec
>> /usr/share/mythtv/contrib/info/mythname/mythname.pl {} \;
>>
>> Any of those files that error out are not in the database.
>
> I found http://www.mythtv.org/wiki/Find_orphans.py to be very convenient.
And even more convenient, now, since Raymond Wagner went to the trouble
of adding code to allow it to delete files/recording metadata for you,
if you select the option from the prompt after the search.
Mike
More information about the mythtv-users
mailing list