[mythtv] [patch] Small improvement to "record this timeslot every week"

Isaac Richards mythtv-dev@snowman.net
Mon, 25 Nov 2002 02:07:23 -0500

On Sunday 24 November 2002 10:31 pm, Dan Schwarz wrote:
> The program guide is smart enough to detect programs that repeat daily
> or weekly and give you the option to record those shows in that same
> timeslot every week.  It does this by looking ahead in the program guide
> 1 day and 7 days, and comparing the titles of the programs in the same
> timeslots. If it doesn't find the same program in the timeslot /or if it
> finds no data for that day/ it will not display the "timeslot" option.
> That's great, but Mythfilldatabase only loads 7 days worth of program
> data starting from today's date.  So if you browse ahead in the program
> guide to a future date, you will not be able to set mythtv to record any
> program in the same timeslot in a future week.
> This patch implements the following change:  If there is no program data
> 7 days out from this program's timeslot, it will still allow you to
> record that show in the same timeslot every week.  /It's trusting you to
> know that the program does, in fact, repeat every week./   I think
> that's fine.

Yeah, I agree -- I'll get this applied tomorrow.  Thanks.

> By the way, I can't get Emacs to follow mythtv's indentation rules at
> all. Anyone out there have a config file to get emacs to indent in
> Issac's style?

4 space indents (no tabs), braces on their own lines, no space after (, no 
space before ), and no lines longer than 80 characters should do it.  I