[mythtv] [PATCH] Associate channels to cardinput sourceids; HD2000 channel retrieval

Isaac Richards ijr at po.cwru.edu
Tue Jan 27 01:44:52 EST 2004


On Monday 26 January 2004 01:28 pm, Brad Corrion wrote:
> Hi y'all,
>
> I've got a PVR250 on my master backend with a cable programming feed, and
> a HD-2000 HDTV card on a slave frontend with a broadcast programming feed.
>  One major problem was that trying to tune to digital channel "8" on the
> HD-2000 would retrieve the channel definition for the cable channel, and
> not the broadcast channel.

I've applied the patch, minus the change to hdtvrecorder.cpp -- won't that 
break on people with only hdtv cards who just have Default in their channel 
table and ATSC as the default tvformat setting?

> The attached patch maps the sourceid to the cardinput, so that channel.cpp
> can specify the appropriate sourceid when performing the SQL select to
> retrieve the channel information.  I would guess that since there are now
> 4 cardinput maps being used, that maybe a good next step is to create a
> cardinput class to store this type of information.

You volunteering to consolidate them into a struct or something? =)

Isaac


More information about the mythtv-dev mailing list