[mythtv-users] Silence Detect not working

Roger Siddons dizygotheca at ntlworld.com
Tue May 6 20:19:53 UTC 2014


On Tue, 06 May 2014 20:33:15 +0100, Chris Lewis <chrislewis915 at gmail.com>  
wrote:

> Hi
>
> At some point over the last 6 months the silence detect commflagging  
> seems to have stopped working on my combined BE/FE.
>
> I have tried today to run the command manually in an attempt to figure  
> out whats going on.  I am getting the following.
>
> chris at mythtv:/var/lib/mythtv/recordings$ silence.py --chanid 9931  
> --starttime 20140503211800 --loglevel debug
> 2014-05-06 20:27:41.375106 D [31471] Python Database Connection Trying  
> database credentials from: /home/chris/config.xml
> 2014-05-06 20:27:41.432512 E [31471] m mythcommflag: Could not find  
> recording
>
> the recording is certainly available on the drive
>
> chris at mythtv:/var/lib/mythtv/recordings$ ll *20140503211800*
> -rw-r--r-- 1 mythtv mythtv 5515262940 May  3 23:22  
> 9931_20140503211800.mpg
> -rw-rw-rw- 1 mythtv mythtv      77528 May  3 23:22  
> 9931_20140503211800.mpg.png
>
> Any ideas as I'm stuck!
>

Try: silence.py --chanid 9931 --starttime 20140503221800 --loglevel debug
                                                                               ^^

The file timestamp is UTC but the python bindings use BST so you were an  
hour out.

There are some notes on the wiki at  
http://www.mythtv.org/wiki/Commercial_detection_with_silences#Timezone_Issues

Note this only explains the command line failure. Your job should be using  
%JOBID% and won't be affected by UTC issues.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20140506/ec9fd1d6/attachment.html>


More information about the mythtv-users mailing list