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"><<a href="mailto:knowledgejunkie@gmail.com">knowledgejunkie@gmail.com</a>></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">> Anyway, what do I do at this stage? For sure I'm not going to enter<br>
> all that stuff by hand, and I don't think that's what most of the<br>
> people for whom it works are doing. How else can I resync stuff? Get a<br>
> database dump of the channel table from someone who sees the same<br>
> 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's assume we go with this second route.<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;">
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 'channel_ids' 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's do this by example for one channel and see if I got it right.<br><br>mysql> select chanid, channum, callsign, name, xmltvid, default_authority from channel order by name;<br>
+--------+---------+----------------+----------------+---------+----------------------+<br>| chanid | channum | callsign | name | xmltvid | default_authority |<br>+--------+---------+----------------+----------------+---------+----------------------+<br>
| 17832 | 16832 | BBC FOUR | BBC FOUR | | <a href="http://fp.bbc.co.uk">fp.bbc.co.uk</a> | <br>| 5415 | 4415 | BBC NEWS | BBC NEWS | | <a href="http://fp.bbc.co.uk">fp.bbc.co.uk</a> | <br>
| 5173 | 4173 | BBC ONE | BBC ONE | | <a href="http://fp.bbc.co.uk">fp.bbc.co.uk</a> | <br>| 18024 | 17024 | BBC Parliament | BBC Parliament | | <a href="http://fp.bbc.co.uk">fp.bbc.co.uk</a> | <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 > dump.txt<br>
<br>and it starts like this:<br><br><br><?xml version="1.0" encoding="utf-8"?><br><!DOCTYPE tv SYSTEM "xmltv.dtd"><br><br><tv source-info-url="<a href="http://www.radiotimes.com">http://www.radiotimes.com</a>" source-info-name="Radio Times XMLTV Service" source-data-url="<a href="http://xmltv.radiotimes.com/xmltv/channels.dat">http://xmltv.radiotimes.com/xmltv/channels.dat</a>" generator-info-name="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 $" generator-info-url="<a href="http://www.xmltv.org">http://www.xmltv.org</a>"><br>
<channel id="<a href="http://bbcfour.bbc.co.uk">bbcfour.bbc.co.uk</a>"><br> <display-name>BBC Four</display-name><br> <icon src="<a href="http://www.lyngsat-logo.com/logo/tv/bb/bbc4.jpg">http://www.lyngsat-logo.com/logo/tv/bb/bbc4.jpg</a>" /><br>
</channel><br> <channel id="<a href="http://news.bbc.co.uk">news.bbc.co.uk</a>"><br> <display-name>BBC News Channel</display-name><br> <icon src="<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>" /><br>
</channel><br></div><div>...<br><br><br>So, am I doing the right thing if, for BBC FOUR, say, I just poke that "<a href="http://bbcfour.bbc.co.uk">bbcfour.bbc.co.uk</a>" in the xmltvid column of the BBC FOUR row of the channel table?<br>
<br>How about your "will need to update the XMLTV configuration channel at the same time<br>
to keep everything in sync"? 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 "channel=<a href="http://bbcfour.bbc.co.uk">bbcfour.bbc.co.uk</a>"; am I right in thinking that there's nothing else to update here? In fact, since the dump was generated from an invocation that referred to this config file, isn'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 'Delete all video sources' 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> <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's<br>
associated XMLTV configuration file for each channel you want listings<br>
for. </blockquote><div><br>That's what I've done above, right?<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">You'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 "activate" the xml fetching process without disturbing the EIT one? do I have to enter a<br><br> 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>