[mythtv-users] Recordings won't delete

Brad DerManouelian myth at dermanouelian.com
Tue Nov 13 00:25:48 UTC 2007

On Nov 12, 2007, at 4:17 PM, Gary Elder wrote:

> On Nov 12, 2007 3:15 PM, Nick Morrott <knowledgejunkie at gmail.com>  
> wrote:
>> On 08/11/2007, Gary Elder <gelder4 at cox.net> wrote:
>>> I had to rebuild my system, and subsequently restored my database  
>>> from a
>>> backup.  Somewhere along the way I deleted some recordings from my
>>> recording directory.  The recordings are still listed as recorded
>>> programs in the frontend, but of course when I try watch them I  
>>> get a
>>> message that states the files could not be found.  When I try to  
>>> delete
>>> them, the recorded program disappears from the listings but then
>>> reappears after a few seconds.
>>> I've tried running myth.rebuilddatabase.pl and  
>>> optimize_mythdb.pl.  Both
>>> ran successfully, but they didn't fix the problem. Suggestions?
>> Running contrib/myth.find_orphans.pl is probably your best bet to
>> avoid editing the DB directly. The script was created to fix this
>> exact problem. Remember to back up your DB before running _any_  
>> script
>> on the DB, MythTV provided or not. myth.find_orphans.pl -help will
>> display the usage information.
>> Newer versions of MythTV should allow you to delete the DB metadata  
>> of
>> missing recording file via the recorded programmes list, although I
>> can't say precisely which revision added this support.
> I'm running MythDora 4 and it doesn't have myth.find_orphans.pl in the
> contrib directory.  I checked the wiki at MythTV.org but didn't find a
> link to download the script.  Can you point me to a site where I can
> download it?

That script only works against newer versions of mythtv - meaning,  
nothing that's been officially released, yet. Sorry I didn't follow  
the rest of the thread. Did you try touching the missing filename and  
deleting from the interface again to see if it fares better?

More information about the mythtv-users mailing list