[mythtv-users] Custom recording syntax

Michael Lynch lynchmv at gmail.com
Tue Sep 26 17:22:28 UTC 2006


On 9/26/06, chris at cpr.homelinux.net <chris at cpr.homelinux.net> wrote:
> On Tue, Sep 26, 2006 at 09:59:10AM -0400, Michael Lynch wrote:
> > program.title = "college football"
> > and (program.subtitle like "alabama at %"
> > or program.subtitle like "% at alabama")
>
> Incidentally, why not just use:
>
> program.title = "college football"
> and program.subtitle like "%alabama%"
>
> The "%" will match an empty string so that version would match both
> the "at alabama" and "alabama at" games.  The only risk I could see
> would be that you might start seeing "florida and texas square off
> in alabama" or something of that ilk.  I don't watch college footie
> so I don't know if that's likely to be a problem or not.
>
> _______________________________________________

I specifically chose the "% at alabama" and "alabama at %" because I
don't want to pick up any of the odd games, such as "% at alabama a&m"
or "alabama state at %"  :)


More information about the mythtv-users mailing list