[mythtv-users] UK commflagging script

Alex Butcher mythlist at assursys.co.uk
Mon Jan 31 16:42:09 UTC 2011


On Mon, 31 Jan 2011, John Pilkington wrote:

> On 31/01/11 16:01, Alex Butcher wrote:
>> On Mon, 31 Jan 2011, George Poulson wrote:
>>> On 31 January 2011 12:11, George Poulson <george.poulson at gmail.com>
>>> wrote:
>>> /usr/bin/mythcommflag run with [-j 2196 -V 3] at Mon Jan 31 15:13:14
>>> GMT 2011 by mythtv
>>> running job 2196
>>> channel callsign is FIVE
>>> chanid=13106 STARTTIME=2011-01-29 05:28:00
>>> basename is 13106_20110129052800.mpg
>>> filename is /media/disk/mythtv/recordings/13106_20110129052800.mpg
>>> Callsign in whitelist - will run silence_detect
>>> silence_detect /media/disk/mythtv/recordings/13106_20110129052800.mpg
>>> silence-detect has generated cutlist: 1-4466,20558-26041,46379-,
>>> silect_detect() set CUTLIST to 1-4466,20558-26041,46379-,
>>> /usr/bin/mythcommflag run with [--setcutlist
>>> 1-4466,20558-26041,46379-, -f
>>> /media/disk/mythtv/recordings/13106_20110129052800.mpg] at Mon Jan 31
>>> 15:14:56 GMT
>>> 2011 by mythtv
>>> running mythcommflag.orig --setcutlist 1-4466,20558-26041,46379-, -f
>>> /media/disk/mythtv/recordings/13106_20110129052800.mpg
>>> mythcommflag failed; returned 134
>> 
>> Odd. That's what the original silence-detect.sh script does as mythcommflag
>> --setcutlist used to be able to accept a trailing - as meaning 'cut to the
>> end'. I specifically added code to get the frame count from
>> mytharchivehelper.
>> 
>
> May be related to the presence or absence of Mike Dean's recent patch 
> referenced here:
>
> http://code.mythtv.org/trac/ticket/9389#comment:9

My MythTV box 0.24-fixes from GIT dated 12 January 2011, i.e. predating
Mike's patch. His patch is only supposed to affect mythcommflag's --getcutlist
mode, which my script doesn't use (directly) anyway.

> John P

Best Regards,
Alex


More information about the mythtv-users mailing list