[mythtv-users] Record all programs matching .....*

Bruce Markey bjm at lvcm.com
Fri Jan 30 01:52:43 EST 2004


Chris Pinkham wrote:
>>When instructing Myth to "Record at any time on this channel"
>>(for example), the program name has to match exactly the one
>>selected as I understand it.
> 
> 
> <snip>
> 
>>Is there a way of recording all programs matching "Trauma: Life
>>In The E.R.: *"? Or should I start looking at the code?
>>
>>Thanks,
>>Martin Brown

First, I'm a little concerned about the clarity of this example.
Listings info has three fields; title, subtitle, description.
The quotes and colons you've used make it unclear as to what
is really in the listings.

mysql> select title,subtitle from program where title like 'Trauma%';
+------------------------+-------------------+
| title                  | subtitle          |
+------------------------+-------------------+
| Trauma: Life in the ER | Point Blank Range |
| Trauma: Life in the ER | Point Blank Range |
+------------------------+-------------------+
2 rows in set (0.01 sec)

If it were:

title: "Trauma: Life In The E.R.: A Roll Of The Dice: Las Vegas Pt. 1"
subtitle: ""
description: ""

(which I doubt ;) then it would be one issue. If it's:

title: "Trauma: Life In The E.R."
subtitle: "A Roll Of The Dice: Las Vegas Pt. 1"
description: ""

(which is more likely) then it is another. Duplicate matching
with just subtitles or just descriptions will probably be
addresses in 0.15 starting shortly after 0.14 is released in
a few days but that doesn't appear to be your question.

A better example used in previous threads on pattern matching
titles is "Junkyard Wars" and "Junkyard Mega-Wars". 

There isn't a current feature to record 'LIKE "Junkyard%Wars"'.
There is a keyword list in 0.14 that is used for searching
program listings to at least find things that match a pattern.
You can then choose things to record from the results of the
search. See Schedule Recordings->Search Listings->Titles .

--  bjm


More information about the mythtv-users mailing list