Nick, thanks for your reply and sorry for my long absence.<br><br><div class="gmail_quote">On Tue, Dec 30, 2008 at 9:08 AM, Nick Morrott <span dir="ltr">&lt;<a href="mailto:knowledgejunkie@gmail.com">knowledgejunkie@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">&gt; Anyway, what do I do at this stage? For sure I&#39;m not going to enter<br>

&gt; all that stuff by hand, and I don&#39;t think that&#39;s what most of the<br>
&gt; people for whom it works are doing. How else can I resync stuff? Get a<br>
&gt; &nbsp;database dump of the channel table from someone who sees the same<br>
&gt; channels and has a working radio-times-grabbing setup?<br>
<br>
</div>At the moment, most people configure things manually once. This may<br>
involve creating all channels from scratch (which can take a long<br>
time) or adding XMLTVIDs to existing channels (which is much quicker).<br>
<div class="Ih2E3d"></div></blockquote><div><br>OK, so let&#39;s assume we go with this second route.<br>&nbsp;<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
It most certainly _is_ possible to take a working DVB-T setup (i.e.<br>
having previously scanned for channels) and configure each of them<br>
with a valid XMLTVID. You will need to match up the correct channel<br>
with the correct XMLTVID which can take some time (but it should be<br>
clear from the XMLTV file &#39;channel_ids&#39; which channel is which), and<br>
will need to update the XMLTV configuration channel at the same time<br>
to keep everything in sync.</blockquote><div><br>Let&#39;s do this by example for one channel and see if I got it right.<br><br>mysql&gt; select chanid, channum, callsign, name, xmltvid, default_authority from channel order by name;<br>
+--------+---------+----------------+----------------+---------+----------------------+<br>| chanid | channum | callsign&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | xmltvid | default_authority&nbsp;&nbsp;&nbsp; |<br>+--------+---------+----------------+----------------+---------+----------------------+<br>
|&nbsp; 17832 | 16832&nbsp;&nbsp; | BBC FOUR&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | BBC FOUR&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | <a href="http://fp.bbc.co.uk">fp.bbc.co.uk</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | <br>|&nbsp;&nbsp; 5415 | 4415&nbsp;&nbsp;&nbsp; | BBC NEWS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | BBC NEWS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | <a href="http://fp.bbc.co.uk">fp.bbc.co.uk</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | <br>
|&nbsp;&nbsp; 5173 | 4173&nbsp;&nbsp;&nbsp; | BBC ONE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | BBC ONE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | <a href="http://fp.bbc.co.uk">fp.bbc.co.uk</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | <br>|&nbsp; 18024 | 17024&nbsp;&nbsp; | BBC Parliament | BBC Parliament |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | <a href="http://fp.bbc.co.uk">fp.bbc.co.uk</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | <br>
...<br><br>So at the moment my xmltvid are all empty and I need to fill them up by hand.<br><br>I look at the file dump.txt that I obtained by running<br><br>tv_grab_uk_rt --quiet --config-file /home/tv/.mythtv/Freeview.xmltv &gt; dump.txt<br>
<br>and it starts like this:<br><br><br>&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;<br>&lt;!DOCTYPE tv SYSTEM &quot;xmltv.dtd&quot;&gt;<br><br>&lt;tv source-info-url=&quot;<a href="http://www.radiotimes.com">http://www.radiotimes.com</a>&quot; source-info-name=&quot;Radio Times XMLTV Service&quot; source-data-url=&quot;<a href="http://xmltv.radiotimes.com/xmltv/channels.dat">http://xmltv.radiotimes.com/xmltv/channels.dat</a>&quot; generator-info-name=&quot;XMLTV/$Id: <a href="http://tv_grab_uk_rt.in">tv_grab_uk_rt.in</a>,v 1.198 2008/08/25 02:30:28 knowledgejunkie Exp $&quot; generator-info-url=&quot;<a href="http://www.xmltv.org">http://www.xmltv.org</a>&quot;&gt;<br>
&nbsp; &lt;channel id=&quot;<a href="http://bbcfour.bbc.co.uk">bbcfour.bbc.co.uk</a>&quot;&gt;<br>&nbsp;&nbsp;&nbsp; &lt;display-name&gt;BBC Four&lt;/display-name&gt;<br>&nbsp;&nbsp;&nbsp; &lt;icon src=&quot;<a href="http://www.lyngsat-logo.com/logo/tv/bb/bbc4.jpg">http://www.lyngsat-logo.com/logo/tv/bb/bbc4.jpg</a>&quot; /&gt;<br>
&nbsp; &lt;/channel&gt;<br>&nbsp; &lt;channel id=&quot;<a href="http://news.bbc.co.uk">news.bbc.co.uk</a>&quot;&gt;<br>&nbsp;&nbsp;&nbsp; &lt;display-name&gt;BBC News Channel&lt;/display-name&gt;<br>&nbsp;&nbsp;&nbsp; &lt;icon src=&quot;<a href="http://www.lyngsat-logo.com/logo/tv/bb/bbc_news.jpg">http://www.lyngsat-logo.com/logo/tv/bb/bbc_news.jpg</a>&quot; /&gt;<br>
&nbsp; &lt;/channel&gt;<br></div><div>...<br><br><br>So, am I doing the right thing if, for BBC FOUR, say, I just poke that &quot;<a href="http://bbcfour.bbc.co.uk">bbcfour.bbc.co.uk</a>&quot; in the xmltvid column of the BBC FOUR row of the channel table?<br>
<br>How about your &quot;will need to update the XMLTV configuration channel at the same time<br>
to keep everything in sync&quot;? I look into /home/tv/.mythtv/Freeview.xmltv and it starts with<br><br>encoding=utf-8<br>cachedir=/home/tv/.xmltv/cache<br>title-processing=enabled<br>postcode=none<br>platform=freeview<br>
channel=<a href="http://bbcfour.bbc.co.uk">bbcfour.bbc.co.uk</a><br>channel=<a href="http://news.bbc.co.uk">news.bbc.co.uk</a><br>channel=<a href="http://east.bbc1.bbc.co.uk">east.bbc1.bbc.co.uk</a><br>channel=<a href="http://bbc1.bbc.co.uk">bbc1.bbc.co.uk</a><br>
channel=<a href="http://london.bbc1.bbc.co.uk">london.bbc1.bbc.co.uk</a><br>channel=<a href="http://midlands.bbc1.bbc.co.uk">midlands.bbc1.bbc.co.uk</a><br>channel=<a href="http://north.bbc1.bbc.co.uk">north.bbc1.bbc.co.uk</a><br>
channel=<a href="http://north-east.bbc1.bbc.co.uk">north-east.bbc1.bbc.co.uk</a><br>channel=<a href="http://north-west.bbc1.bbc.co.uk">north-west.bbc1.bbc.co.uk</a><br>channel=<a href="http://northern-ireland.bbc1.bbc.co.uk">northern-ireland.bbc1.bbc.co.uk</a><br>
...<br><br>Now, this already seems to have a line &quot;channel=<a href="http://bbcfour.bbc.co.uk">bbcfour.bbc.co.uk</a>&quot;; am I right in thinking that there&#39;s nothing else to update here? In fact, since the dump was generated from an invocation that referred to this config file, isn&#39;t it easier just to poke the ids FROM this /home/tv/.mythtv/Freeview.xmltv file into the channel database table without even referring to the dump.txt file? Or am I missing something?<br>
<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Start with a clean slate. Choose the &#39;Delete all video sources&#39; option<br>

in mythtv-setup (which should remove all existing channels), create a<br>
new one, and rescan for your DVB-T channels.</blockquote><div><br>OK, got this far (though the numbers are all weird---BBC ONE used to be 1 and I never got that back).<br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
- if you want to use EIT listigs, you need the option enabled on both<br>
the video source and those channels you want EIT listings for.</blockquote><div><br>OK, got that, and for now it works.<br>&nbsp;<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
- if you want to use XMLTV listings, you need both a valid XMLTVID<br>
associated with each channel, </blockquote><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">and an entry in the video source&#39;s<br>
associated XMLTV configuration file for each channel you want listings<br>
for. </blockquote><div><br>That&#39;s what I&#39;ve done above, right?<br>&nbsp;</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">You&#39;ll also want EIT disabled for these channels.</blockquote>
<div><br>If this can be done on a channel-by-channel basis, does this mean I can just try out the XMLTV method on just one channel, say BBC FOUR, and leave the others with the tried-and-tested EIT method until I get XMLTV to work? Will they happily coexist?<br>
<br>Finally, if I do that partial test, how do I &quot;activate&quot; the xml fetching process without disturbing the EIT one? do I have to enter a<br><br>&nbsp;tv_grab_uk_rt --quiet --config-file /home/tv/.mythtv/Freeview.xmltv | mythfilldatabase --update --file 1 -<br>
<br>command in some screen of the backend configuration? If so, where exactly?<br></div></div><br>Thanks<br>