[mythtv-users] Control mythcommflag Indicator?

John Pilkington J.Pilk at tesco.net
Sun Nov 16 19:10:43 UTC 2014


On 16/11/14 17:03, jim wrote:
> Playback via the FE may be having problems with the following scenario.
> - recording has been commflagged
> - cutlist generated
> - mythtranscoded (lossless) to remove commercials
> - transcoded to H.264 via HandBrake
> - seek table rebuilt
> - database updated for new file size
> It seems mythtv FE is attempting to skip over commercials that no longer
> exist in the resultant file. My guess is that the database still
> contains an entry indicating the recording has useful commflags, fooling
> the FE. If this is the case, is there a way to set the commflag entry to
> indicate the recording is no longer commflagged? That should result in
> less erratic playback. Thanks.

mythutil --clearcutlist

I have this in a script:

# Cutting completed.  Now clean up.
CMD="ionice -c3 mythutil  --clearcutlist  --chanid "$chanid"  \ 
--starttime "$starttime" -q "
echo "running: "${CMD}""
${CMD}
echo -e "Cutlist has been cleared.\n"



More information about the mythtv-users mailing list