MythTV/mythtv — pull request #22 by pinkylinc (2012-06-05 11:08:49+00:00)
Title: EIT cross-sourcing for set-top-boxes

Ticket description:
------------
Feature enhancement for EIT cross sourcing.
-Allows use of a DVB card to apply EIT guide data to an analogue stb source.

-Adds new videosource type to mythtv-setup which allows use of an analogue video feed with digital EIT EPG data.

-DVB card is used for scanning to populated database transport info.

-Sourceid storage has been moved from cardinput.sourceid to a map table (videosourcemap) which links cardinputs to a sourceid with a map type (main, eit, or scan).

-Patch requires new mysql table to exist:

CREATE TABLE `videosourcemap` (
`mapid` int(10) unsigned NOT NULL AUTO_INCREMENT,
`sourceid` int(10) NOT NULL DEFAULT '0',
`cardinputid` int(10) NOT NULL DEFAULT '0',
`type` varchar(128) NOT NULL DEFAULT '',
PRIMARY KEY (`mapid`)
) ENGINE=MyISAM AUTO_INCREMENT=18645 DEFAULT CHARSET=latin1

Cardinput.sourceid is no longer required.

I've tried to keep this brief but happy to help if anything more is required. Thanks, Lincoln.