<div class="gmail_quote">On Mon, Oct 22, 2012 at 5:31 PM, Worik Stanton <span dir="ltr"><<a href="mailto:worik.stanton@gmail.com" target="_blank">worik.stanton@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Yes I think my channel table is a mess! I was looking at it and it is<br>
full of duplicated fields. I attached it.<br></blockquote><div><br>You are running DVB-T, right? We need the serviceid. How are you populating guide data? Give us the output of this query:<br>select chanid, channum, freqid, sourceid, callsign, name, xmltvid, visible, useonairguide, mplexid, serviceid from channel;<br>
<br>In case you're not clear on what these column contains, here's a description:<br>chanid - unique identifier for a particular channel or a particular source<br>channum - number used only for selecting the channel in the UI. When you're in Live TV you type this number to select the channel. Should be the same for each row where the callsign is identical, though it won't cause problems if it isn't.<br>
freqid - the frequency used for analogue tuning. Also passed to an external channel change program if you are using one (e.g. for people using irblasters with external boxes)<br>sourceid - the source this particular channel is on. The source represents a particular broadcast method for a group of channels<br>
callsign - identifies a particular program line up. If you have multiple sources, a common channel should have the same callsign on each source. Scheduling is done based on callsign.<br>name - the name of channel as displayed in the UI<br>
xmltvid - the external identifier used to identify the channel in guide data. If you are producing your own guide data (e.g. via tv_grab) then you can pretty much set these up however you like, provided the setup is consistent between MythTV and what you're using to get the guide data. If you're using guide data from someone else (downloaded) then you need to set these to match whatever is in their data. If MythTV is getting the guide data itself (see below) then this can be empty.<br>
visible - whether or not the channel is in use. If this is 0 then the channel will not appear in the UI and the scheduler will ignore it.<br>useonairguide - for DVB systems, whether or not MythTV should grab guide data from the EIT tables in the DVB stream. If you're producing your own data or downloading it I'd recommend switching this off. For Freeview HD, I believe on "now and next" data is available in the EIT tables so this is pretty useless.<br>
mplexid - the id of the multiplex this channel is on. Used for DVB.<br>serviceid - the PID (packet ID) in DVB stream that contains the service information for a channel. A channel has other PIDs too, for the video and audio streams, etc, but MythTV can find those other PIDs from this one. On lyngsat, this is the "SID" column (e.g. on <a href="http://www.lyngsat.com/Optus-D1.html">www.lyngsat.com/Optus-D1.html</a>).<br>
<br>If you need more info, search the archives. I've gone into detail on the chanid/channum/callsign stuff before.<br><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
However I am not sure that is the problem. Looking at the backend log I<br>
find...<br>
<br>
mythbackend.log:55587:2012-10-21 05:00:03.143 Started recording: "BBC<br>
<div class="im">World News": channel 1052 on cardid 1, sourceid 1<br>
<br>
<br>
</div>This early morning recording is typically on the wrong channel. (Maybe<br>
half of the time, I have not counted carefully). But always with the<br>
same chanid.<br></blockquote><div><br>You haven't given us enough info to diagnose (need the serviceid column at least, sourceid too would be good). From what you supplied, 1052 is channel One. But obviously the tuning info is not right.<br>
<br>Cheers,<br>Steve<br></div></div>