[mythtv-users] Cleanup recordings not in database

Michael T. Dean mtdean at thirdcontact.com
Thu Jun 23 16:44:26 UTC 2011


On 06/23/2011 06:38 AM, Ramon Hofer wrote:
> On 06/14/2011 06:57 PM, Chris Kapp wrote:
>> Recently I had a hard drive crash that left records in the database
>> without files and files without database records (I managed to get
>> some of the files backed up before I completely lost the drive).  I
>> found this script worked well:
>>
>> http://www.mythtv.org/wiki/Find_orphans.py
>>
> I wanted to test the script as well but I got the following error:
>
> Traceback (most recent call last):
>     File "/home/hoferr/bin/find_orphans.py", line 3, in<module>
>       from MythTV import MythDB, MythBE, Recorded
> ImportError: No module named MythTV
>
>
> How can I add these modules?

Do you have the MythTV Python bindings installed?  If you're compiling 
yourself, check the output of mythtv's configure command to find out 
(and to find out why not, if it says no).

Mike


More information about the mythtv-users mailing list