[mythtv-users] Skip issues on recordings only - where to look next?

Bruce Nordstrand brucen at ksl.com.au
Sat Jul 12 02:37:36 UTC 2008



Nick Morrott wrote:
> 2008/7/11 Bruce Nordstrand <brucen at ksl.com.au>:
>   
>>> Nick Morrott wrote:
>>>
>>>       
>>>> Those recordings have broken seektables, so you'll need to rebuild
>>>> them via mythcommflag --rebuild.
>>>>         
>> Can I just ask a technical type question.....
>>
>> Why do we use mythcommflag to rebuild the recordedseek table? What if a
>> recording does not have commercial flagging applied to it, what actually
>> puts records into the recordedseek table or does nothing get put in? I
>> suppose what I am asking is, does every recording have a record in that
>> table or only the ones with commercial flagging?
>>     
>
> Under normal recording conditions, all recordings* have entries in the
> recoredseek table to enable fast seeking during playback. Whether a
> recording will have commflagging applied does not matter - when
> mythbackend is recording, entries are created in recordedseek.
>
> I can only presume that mythcommflag is used to rebuild broken
> seektables because it uses the recordedseek data when commflagging,
> and as a standalone application can be run whilst mythbackend is
> already running. It can also scan the video data and recreate missing
> seekpoints as part of its main purpose as a commercial flagging
> program.
>
> Even though I've only had to rebuild a couple of seektables over the
> years, I can see it might be a useful addition if perhaps there was an
> entry in the Manage Recordings menu to enable rebuilding of damaged
> seektables - whether this is based on a user selecting a potentially
> damaged seektables from their list of recorded programmes (probably
> the preferred option), or some logic to (slowly) scan all recordings
> and rebuild bad seektables is up to to implementer.
>
> * MPEG2 certainly do, not sure about NUV records, but I'd guess they
> do to for the same reasons
>
>   
Thanks Nick

That explains it nicely. I think I was the cause of the table corruption 
with my killing the mycommflag process when it kicked off during our 
watching sessions. I'll be more careful in the future but it would be 
nice to have an easy to apply process when and if the corruption occurs.

Cheers
Bruce


More information about the mythtv-users mailing list