<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Oct 6, 2014 at 1:51 PM, Hika van den Hoven <span dir="ltr"><<a href="mailto:hikavdh@gmail.com" target="_blank">hikavdh@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">[snip]<br><div><div><div class="h5">
>> Another thought. Keep your normal rule for ctv news in place and add<br>
>> another rule that records one show daily at 6 o'clock whose title<br>
>> contains 'news' or whatever with as prerequisitive that the 6 o'clock<br>
>> ctv news is missing! I think there are sql rules to that effect<br>
>> around.<br>
> This sounds serendipitly interesting, though I don't have a use case for it! ;-)<br>
> I just checked the examples in the create recording rule screen,<br>
> but did not found something similar. Do you have an example (link)?<br>
<br>
<br>
> Nicolas<br>
<br>
</div></div>I probably could get such a clause working, but I don't know the<br>
available variables and the Mythtv specific syntax, if there is.<br>
I first should have to search for those. I'll think about the SQL<br>
syntax and leave the variables open for now. Coming back if I have<br>
something before anybody else does.<br>
It could be interesting for me too. The 8 o'clock news here normally<br>
is on the first channel, but sometimes (Olympics) moves to the second.<br>
<span class="im"></span><br></div></blockquote></div><br></div><div class="gmail_extra">First off, I'd like to thank Hika, Stephen and Nicolas (and anyone else who'll be jumping in) for looking at this. The fact that we can even toss this around shows how great MythTV is as compared to the STBs offered by the cable and sat companies.<br><br></div><div class="gmail_extra">I guess it's really an exercise in laziness. :-) I could just have a rule for the backup newscast set at a lower priority, but I like to keep my conflict list free of priority conflicts (I only occasionally get them) so that when I look I see the real conflict choices between two classic movies or docs.<br><br></div><div class="gmail_extra">I see here (<a href="http://www.mythtv.org/wiki/Custom_Recording">http://www.mythtv.org/wiki/Custom_Recording</a>) that nested selects work. But do if/then/else phrases?<br><br></div><div class="gmail_extra">This is not valid sql or mythtv obviously but the logic might be:<br><br></div><div class="gmail_extra">IF (select title='CTV News' and time='6pm') = 0 THEN schedule Global News at 6pm<br></div><div class="gmail_extra"><br></div></div>