[mythtv-users] Schedule by regexp

Bruce Markey bjm at lvcm.com
Wed Nov 9 14:43:49 EST 2005


chris at cpr.homelinux.net wrote:
..
> For example, to get all of the "Survivor" reality shows but not the 
> "Survivorman" outdoor show you could either limit the results by 
> category or use an inverse match on the specific titles you don't want.
> The first method would end up looking like:
> 	program.title LIKE "survivor%" 
> 	AND program.category_type = "reality"
> and the second like:
> 	program.title LIKE "survivor%" 
> 	AND NOT program.title LIKE "survivorman%"
> 
> The trailing "%" on the name will match cases where the series has a 
> different name each season (the current one is "Survivor: Guatemala -- 
> The Maya Empire").

The show hosted by Jeff Probst is always "Survivor: <location>" so
"Survivor: %" excludes Survivorman.

I have two power search rules for Survivor.

program.title LIKE 'Survivor: %'
AND channel.callsign = 'KLAS'

KLAS is my local CBS affiliate. This catches the new episodes now
and in future seasons. I've set this to High Quality for the nice
cinematography. OLN is also showing old reruns.

program.title LIKE 'Survivor: %'
AND HOUR(program.starttime) >= 16
AND HOUR(program.starttime) < 20

This matches the afternoon reruns on OLN and is set to Low Quality
because my OLN signal is crappy.

--  bjm


More information about the mythtv-users mailing list