[mythtv-users] Commercial detection in the UK (Was: THIS IS A NON-COMMERCIAL MAILING LIST (WAS: Re: Torc for iOS - Application Submitted to the App Store for Review))
Thomas Boehm
mythtv-users at lists.boehmi.net
Tue Apr 17 13:02:48 UTC 2012
Chris Oattes wrote:
> I'm looking at that script now, and it seems that it doesn't actually run
> silence detection for any of the BBC, ITV, Channel 4 or Channel 5 groups
> of channels (See the whitelist function ).
It looks trivial to me to change that in the script. You seem to have
found the right part already.
# Check if channel is known to work with Silence_detect
# $1=callsign
Whitelist() {
case "$1" in
BBC*) return 0 ;;
ITV*|STV|UTV|CITV) return 0 ;;
Channel?4*|More4*|More?4*|E4*|S4C|Film4*) return 0 ;;
Channel?5*|5*) return 0 ;;
CBS?Action*|CBS?Drama*|CBS?Reality*) return 0 ;;
True?Movies*|True?Ent) return 0 ;;
horror?ch*) return 0 ;;
movies4men*|mov4men*) return 0 ;;
Men*Movie*) return 0 ;;
Dave*) return 0 ;;
Import?#*) return 0 ;; # For testing
esac
return 1
}
I use the script from here
http://www.mythtv.org/wiki/Mythcommflag-wrapper
and removed all the white and blacklist stuff. It works very pretty well
on all channels.
More information about the mythtv-users
mailing list