<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">&gt;&gt;&gt; I cleaned up the rules and while doing so came across something that<br>


&gt;&gt;&gt; could be a conflict.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; When I originally built the system as a combined Freeview and Freesat<br>
&gt;&gt;&gt; service the CHANID values get set according to the order that the<br>
&gt;&gt;&gt; source device is chosen.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; In my original build I&#39;d actually scanned the DVB-T channels twice<br>
&gt;&gt;&gt; from two different DVB-T tuners as I didn&#39;t realise that the source<br>
&gt;&gt;&gt; could be shared by the other tuners.  So then when I scanned the DVB-S<br>
&gt;&gt;&gt; channels there was a 4000 offset for the SID and therefore CHANID, for<br>
&gt;&gt;&gt; example BBC HD which has a SID of 6940 got allocated a CHANID of 10940<br>
&gt;&gt;&gt; to allow for the offset.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; When I did the recent rebuild I didn&#39;t make the same error so the SID<br>
&gt;&gt;&gt; and CHANID were instead 8940 rather then the original 10940.  This<br>
&gt;&gt;&gt; means the database had recording rules for CHANID values that just<br>
&gt;&gt;&gt; didn&#39;t exist in the database anymore.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I&#39;ve cleaned the rules down from 750+ to about 150 and will monitor<br>
&gt;&gt;&gt; for a few more days, if I&#39;m right it&#39;ll be worth putting this into the<br>
&gt;&gt;&gt; wiki so it doesn&#39;t catch out other users later.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Fingers crossed but good job guys.<br>
&gt;&gt;&gt;<br>
&gt;&gt; That raises an important question that wouldn&#39;t have bothered us in the<br>
&gt;&gt; old analog days.<br>
&gt;&gt;<br>
&gt;&gt; In the digital world, channels are getting moved about on a fairly<br>
&gt;&gt; frequent basis which means we end up rescanning more than we used to. End<br>
&gt;&gt; result: CHANID for any particular channel can get changed from time to time.<br>
&gt;&gt;<br>
&gt;&gt; This means that &quot;record on channel xxx&quot; rules are likely not going to work<br>
&gt;&gt; after a scan. I have some of these, and they are a pain to try and figure<br>
&gt;&gt; out which channel they referred to, as they display as &quot;Record on channel .&quot;<br>
&gt;&gt; - that is, the history is gone.<br>
&gt;<br>
&gt;<br>
&gt; Yes, this is why &quot;this channel&quot; rules are generally discouraged--because<br>
&gt; they require you to re-create the rules after any changes to your channels.<br>
&gt;<br>
&gt;<br>
&gt;&gt; Is there any chance that in the future these rules won&#39;t be tied to CHANID<br>
&gt;&gt; but some other identifier like CALLSIGN, perhaps? (Remembering for those of<br>
&gt;&gt; you in the US that CALLSIGN can be a /lot/ longer than 5-6 characters<br>
&gt;&gt; elsewhere in the world.) Not necessarily CALLSIGN itself, perhaps, but a<br>
&gt;&gt; uniqueid indexed on CALLSIGN.<br>
&gt;<br>
&gt;<br>
&gt; FWIW, they are tied to callsign--the callsign of the channel referenced by<br>
&gt; the given ID.  Note, also, that on rescanning it&#39;s /quite/ common for<br>
&gt; callsign to change, too--so changing the code/DB to reference callsign or<br>
&gt; station would only trade one problem for another, and you&#39;d almost<br>
&gt; definitely have to keep re-creating any &quot;this channel&quot; rules.<br>
&gt;<br>
&gt; &quot;Any channel&quot; rules work before and after rescans, regardless of what<br>
&gt; changes.<br>
&gt;<br>
&gt; Mike<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; mythtv-users mailing list<br>
&gt; <a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
&gt; <a href="http://www.mythtv.org/mailman/listinfo/mythtv-users" target="_blank">http://www.mythtv.org/mailman/listinfo/mythtv-users</a><br>
<br>
</div></div>The other side of the equation is that &quot;record on any channel&quot; can be<br>
a problem where you have multiple similar channels....<br>
<br>
For example in the UK you can have...<br>
<br>
BBC 1<br>
BBC 1 HD<br>
BBC 1 Scotland<br>
BBC 1 Wales<br>
BBC 1 Northern Ireland<br>
301 Red Button Sports Event<br>
<br>
or<br>
<br>
Channel 4<br>
Channel 4 +1 - 1 Hour timeshift<br>
Channel 4 HD<br>
More 4<br>
More 4 +1<br>
<br>
In the BBC case 95% of the programming is identical but sometimes a<br>
sports event will only be covered on the regional channel, say for<br>
example a Scottish football game would only be on BBC Scotland.<br>
<br>
During the Olympics the BBC are also transmitting on an extra 20<br>
channels for Olympics coverage - No that&#39;s not a typo it&#39;s an extra 20<br>
channels.<br>
<br>
In the case of Channel 4 programmes shown on Channel 4 will be<br>
simulshown on the HD version and shown on the +1 channel an hour<br>
later.  They can also be shown later that week on the More 4 channel,<br>
usually with the same PROGID but occasionally a different PROGID.<br>
<br>
So mythweb can become incredibly cluttered with non recording versions<br>
of a program if you don&#39;t use the &#39;record on this channel only&#39;<br>
option.<br>
<br>
I appreciate what you&#39;re saying but please don&#39;t think people aren&#39;t<br>
having to use &#39;this channel only&#39; for a reason.<br>
<div class="HOEnZb"><div class="h5"><br></div></div></blockquote><div><br></div><div>I use ONLY &quot;record on any channel&quot; schedules, and the majority of my shows are shown in SD on 2 channels (analog cable, digital cable) and in HD on 2 other channels (HD antenna, HD digital cable).  Using recording priorities, channel priorities, and other options, I can tweak things so that it always records the highest quality recording (usually HD antenna) possible for a particular show... if there are conflicts with a higher priority show, it will bump down to the next highest, and so on.</div>

<div><br></div><div>The only time that you MIGHT see redundant recordings is if the PROGID and description are different... or, sometimes the program details were not available at last mythfilldatabase run, so it tries to record all of them with generic show information.  I have eliminated that problem creating a cron job to run mythfilldatabase --refresh-today at 5pm everyday (chosen because the problem was only occurring with primetime shows).</div>

<div><br></div><div><br></div></div>