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

Chris Pinkham cpinkham at bc2va.org
Fri Jan 30 00:54:56 EST 2004

> 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.


> 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

There's currently no way to do what you want although it's been discussed
a few times.  We tossed around the idea of allowing sql-type "LIKE"
expressions in the title/subtitle/description fields and using "like"
in the query instead of "=".  The function you're looking for is
ScheduledRecording::findAllProgramsToRecord(), but that's not all
that would need to be modified to integrate this fully.  There are quite
a few places that look for exact title/subtitle/description matches that
would have to be modified probably.  And you'd need to add a way to edit
the match strings also.

Have at it... :)  Patches definitely welcome in this case.


More information about the mythtv-users mailing list