[mythtvnz] TV1+1 freeview.xml header update?

Steve Hodge stevehodge at gmail.com
Tue Jul 3 07:07:57 BST 2012


On Tue, Jul 3, 2012 at 11:03 AM, Tim Stonehouse <tim.stonehouse at gmail.com>wrote:

> 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.
>

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).

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.


> I used phpmyAdmin to change the channels name, callsign, xmlid and
> serviceid.
>

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).

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.

Cheers,
Steve
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ourshack.com/pipermail/mythtvnz/attachments/20120703/e59d34b5/attachment.html>


More information about the mythtvnz mailing list