[mythtv-users] ending time wrong on 'recovered' recordings

Kirby Bakken kirby at magnaspeed.net
Fri Feb 2 03:52:39 UTC 2007


I 'lost' all my recordings due to ext2 filesystem corruption...  All the 
files ended up recovered via fsck in lost+found.  So, I 'hacked' 
myth.rebuilddatabase.pl to find all the files in lost+found, and then I 
'syncronized' the timestamps with the database entries.  Then after the 
files had been renamed into /var/video (where my myth recordings are), I 
ran mythcommflag on all the files to rebuild the seek tables.

Well, now I've got the mythfrontend displaying all the recordings, and I 
can play them, but the 'end' seek times are all wrong....  New 
recordings are 30 min, or 60 minutes (or close to that), but the 
'recovered' recordings are 4:30 (4 minutes 30 seconds), and similar numbers.

I've also run  'mysqlcheck -r -u mythtv -pmythtv mythconverg' and it 
runs cleanly.

Any ideas on how to fixup the end seek times?

BTW, I'm pretty sure I'm running mythtv.20 revision  11166, and its 
running on a gentoo x86_64 system.

Here's the output from one of the mythcommflag runs:

mythbe video # mythcommflag --rebuild --file 
/var/video/1041_20061117210000.mpg 2007-02-01 21:46:41.060 Using runtime 
prefix = /usr/local
2007-02-01 21:46:41.136 New DB connection, total: 1
2007-02-01 21:46:41.155 mythcommflag version: 0.20.20060828-3 www.mythtv.org
2007-02-01 21:46:41.166 Enabled verbose msgs: important

MythTV Commercial Flagger, started at Thu Feb  1 21:46:41 2007
Rebuilding SeekTable(s) for:
ChanID  Start Time      Title                                      Status
------  --------------  -----------------------------------------  ------
2007-02-01 21:46:41.197 New DB connection, total: 2
1041    20061117210000  NUMB3RS                                    
2007-02-01 21:46:41.294 Using protocol version 31
0: start_time: 4743.185 duration: 323.654
1: start_time: 4743.146 duration: 323.669
stream: start_time: 52701.627 duration: 3596.591 bitrate=16183 kb/s

Thanks for any pointers/help.  And I apologize in advance if there's 
somewhere obvious in the Doc's I should have found the answer to this 
question.

I



More information about the mythtv-users mailing list