[mythtv-users] Documentation for commercial flagging?

Chris Pinkham cpinkham at bc2va.org
Fri Mar 17 06:13:37 UTC 2006


* On Thu Mar 16, 2006 at 10:50:31PM -0500, Andrew Robinson wrote:
> Is there any documentation on commercial flagging? I've poked around the 
> Myth site and tried Google, but I haven't been able to find any.

To print out the current commercial skip list for a recording run this:

	mythcommflag --getskiplist -c CHANID -s STARTTIME

where CHANID is the chanid of the recording and STARTTIME is the
start time in YYYYMMDDHHMMSS format.

It will print out a list of frame numbers like this:

Commercial Skip List: 0-2392,40214-53173,73619-88176,130309-145199,166657-181219,199914-215879,234196-249057,282627-295399

The 0-2392 is a start-end pair, and marks the first commercial break
in this example.

--
Chris


More information about the mythtv-users mailing list