[mythtv-users] UK commflagging script
Alex Butcher
mythlist at assursys.co.uk
Mon Jan 31 18:16:41 UTC 2011
On Mon, 31 Jan 2011, George Poulson wrote:
> On 31 January 2011 16:01, Alex Butcher <mythlist at assursys.co.uk> wrote:
>
> echo >>$LOGFILE "Total Frames = $FRAMES"
>
> Hmm.. that echo'ed absolutely nothing!!
>
> The problem appears to be that mythbuntu's /bin/sh is "dash", which doesn't
> support "let".
Argh. Still, I'm using functionality not included in the original sh, so
it's my fault. :-)
I've fixed the version on the wiki.
> running mythcommflag.orig --setcutlist 1-5106,23432-29526,46594-55311, -f
> /media/disk/mythtv/recordings/12211_20110129165500.mpg
>
> }}
>
> I've not watched this recording yet to see how successful the flagging is,
> but we're on the right track now!
That looks about right. UK ad breaks are usually about 6000 frames or so.
> I've updated the wiki page to mention that you can add multiple recording
> paths, but havent changed the script :)
Yup, spotted that. I've actually got a local version which fixes that TODO
and generates it from the storagegroup table, but I want to test it lightly
first. :-)
> George
Best Regards,
Alex
More information about the mythtv-users
mailing list