[mythtv-users] Need sanity check re: repairing seektable and commflagging

Michael T. Dean mtdean at thirdcontact.com
Wed May 13 22:43:48 UTC 2009


On 05/13/2009 06:01 PM, Craig Huff wrote:
> On Wed, May 13, 2009 at 11:22 AM, Michael T. Dean wrote:
>   
>> On 05/13/2009 11:32 AM, Craig Huff wrote:
>>     
>>> snip...
>>>
>>> After reading wiki pages and e-mail archives it appears that my next steps
>>> are:
>>>
>>> $ for file in "list of last night recording filenames" ;
>>> do
>>>  mythtranscode --mpeg2 --buildindex --allkeys --showprogress --infile
>>> $file
>>>  mythcommflag --file $file
>>> done
>>>
>>> Or, alternately take the mythcommflag command out of the do-loop and
>>> use this after the do-loop:
>>> $ mythcommflag --allstart 20090512130000  #for everything recorded
>>> after 1pm yesterday
>>>
>>> Is this correct?  Complete?  Or do I need to do something more/different?
>>>       
>> Make sure you've run optimize_mythdb.pl first.  Then, build seektables for
>> any new recordings.  The mythcommflag approach won't work for MPEG-2 (unless
>> you're running trunk), so you'll probably need to do the mythtranscode
>> approach.
>>
>>     
> My apologies for not being more clear.  I agree that I first need to
> use mythtranscode since the MPEG-2 files are ones produced from
> PVR-500 captures.  The questions were A) whether the mythtranscode
> command had all the right options, and B) that my guess was correct in
> that I afterwards need to run mythcommflag (one flavor or the other)
> to get all the commercials flagged for skipping during viewing.
>
> It sounds like we are in agreement.

Yep.  That's right.

I'm sorry--I didn't even look at the options on the mythcommflag to 
notice it wasn't a --rebuild .

Best info on rebuilding the seektable (and args to use) is: 
http://www.mythtv.org/wiki/index.php/Repairing_the_Seektable

Mike


More information about the mythtv-users mailing list