LinHES Forums
http://forums.linhes.org/

Missing recorded tv files - how to update database?
http://forums.linhes.org/viewtopic.php?f=17&t=17536
Page 1 of 1

Author:  jjoshua [ Sat Jan 05, 2008 9:35 pm ]
Post subject:  Missing recorded tv files - how to update database?

For some reason, I have a bunch of recorded tv programs in the database but the video files cannot be found.

How can I remove the missing programs from the database?

Is there a way to totally clear the table of recorded programs and then run myth.rebulddatabase.pl to populate the table from scratch?

Author:  tjc [ Sun Jan 06, 2008 10:11 am ]
Post subject:  Re: Missing recorded tv files - how to update database?

jjoshua wrote:
Is there a way to totally clear the table of recorded programs and then run myth.rebulddatabase.pl to populate the table from scratch?


You really don't want to do that. At the very least it's a lot of tedious error prone work and it's not necessary.

To fix this manually:
- Find the names of the files listed in the DB that no longer exist on disk.
- Touch the files into existence.
- Delete as normal.

Someone also recently posted a set of DB utility scripts, including one that fixes this problem. You want the 3rd one down: http://knoppmyth.net/phpBB2/viewtopic.php?t=17454

Author:  jjoshua [ Tue Jan 08, 2008 11:09 pm ]
Post subject:  That did it

The 3rd one did the trick.

The problem is that Comcrap encrypted a bunch of channels so my HDHR couldn't record them.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/