[mythtv-users] Orphan recordings cleaned up?

David Snider dsnider at thesniderpad.com
Sat Dec 18 13:14:00 UTC 2010


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.


More information about the mythtv-users mailing list