<div class="gmail_quote">On Tue, Jul 3, 2012 at 11:03 AM, Tim Stonehouse <span dir="ltr"><<a href="mailto:tim.stonehouse@gmail.com" target="_blank">tim.stonehouse@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>I have a NOVA-T 500 with 2 real tuners inside, so I've source id 1 and 2. This means I had 2 chanid's to update, 1007 and 2007. </div></blockquote><div><br>In MythTV "source" means unique broadcast schedule - you can think of it as the complete set of channels available via a particular broadcast mechanism. It's really only used for dealing with guide data. So the channels available on Sky represent one source, the channels available on Freeview (satellite) represent another, the channels on Freeview|HD (UHF) represent a third. Your two tuners are both getting the same broadcast signal so they should be both pointed at the same source. In my case I have one source for Sky, which is recorded via a PVR-150, and one source for Freeview which is recorded via a DVB-S capture card. If I had 3 analogue cards attached to 3 Sky boxes and 2 DVB-S tuners I would still only have 2 sources (Sky and Freeview).<br>
<br>Freeview is an interesting situation actually, if you have a system capable of recording both the satellite and UHF versions. There are some channels which only appear on the satellite and some which are only on UHF so they really represent two different sources. However if you only care about the common channels you could set it up with a single source. The fact that some channels are HD on UHF and SD on satellite is irrelevant when talking about sources.<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div></div><div>I used phpmyAdmin to change the channels name, callsign, xmlid and serviceid.</div></blockquote>
<div><br>Generally you could use MythWeb to do this except it doesn't allow you to change the serviceid. Really updating the TVNZ7 row is incorrect, you should be deleting the old row and inserting a new one with a different chanid. Remember that recording rules and recorded programs are linked to that chanid. This might not matter for everyone but any existing TVNZ7 programs will be shown as having been recorded on TVONE+1 and any existing channel based recording rules will be carried across (though I guess they are unlikely to match again).<br>
<br>If you are doing something that can be done via MythWeb you should as you are less likely to really mess things up with that. You should have a very good understanding of the system if you are going to modify the database directly. When people are posting scripts with fixed chanids then I get nervous. I'd also point out that people screwing up their database and then asking for help on the main mailing lists has led some of the developers to conclude that they would be better off using an embedded sql engine so that people couldn't touch the database at all. So be careful, backup your database first, and if you do screw things up feel free to ask for help here but please stay off the main lists.<br>
<br>Cheers,<br>Steve<br></div></div>