[mythtv-users] Broken recordedseek table - what next?

Nick Rout nick.rout at gmail.com
Sun Jun 27 02:12:38 UTC 2010

On Sun, Jun 27, 2010 at 3:57 AM, Daniel Kristjansson
<danielk at cuymedia.net> wrote:
> On Sat, 2010-06-26 at 17:43 +1200, Nick Rout wrote:
>> > ).  If you simply truncate the table, you can do a full restore (much
>> > preferred approach) and then just run mythcommflag --rebuild on all your
>> > recordings to create new seek tables.
>> is there an easy way to do that, eg a script or something?
> I'm assuming you've already replaced the hard drive, since it will
> continue to kill data when mounted read/write in it's current state.

yes the frive in question has been retired.

> You can rebuild all your seek-tables using this:
> for I in *.mpg *.nuv ; do mythcommflag --rebuild --file $I ; done
> Just run it in each video directory. This assumes you run bash as
> your shell, if not just run "bash" first, run this command, then type
> exit to run under your preferred shell. bash is the default on most
> Linux distributions.

cool thanks, easier than I thought! working on it now, wonder how long
it will take to do 644 files? Never mind, it can take all day for all
I care.

> -- Daniel
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

More information about the mythtv-users mailing list