[mythtv] Patch to dvbrecorder.cpp

Hamish Moffatt hamish at cloud.net.au
Fri Oct 29 09:04:37 UTC 2004


On Fri, Oct 29, 2004 at 11:13:31AM +1000, Brian May wrote:
> >>>>> "Hamish" == Hamish Moffatt <hamish at cloud.net.au> writes:
> 
>     Hamish> Isn't the problem here that you are using the same data
>     Hamish> source for both of your cards, even though they aren't
>     Hamish> strictly the same? You need to assign different sources to
>     Hamish> the two cards, even if most of the channels are the
>     Hamish> same. If the channel IDs are the same, Myth will recognise
>     Hamish> that and use either tuner.
> 
> After thinking about what you said, I think I see where you are coming
> from.
> 
> Under your proposal, I would have to sources, one for the analog card,
> and another one from the digital card. Each source would have its own
> set of channels.

That's right. The fact that one card is analog and the other digital
isn't important; if you had two analog cards with different sets of 
channels you would need two data sources too. You wouldn't be able to
omit the tuning data for a channel on one card only.

> However, this would appear to be a sub-optimal solution, because both
> cards have the same set of channels (except 31), and as such both get
> the TV guide from the same source.
> 
> I don't know if having two sources would mean that XMLTV retrieves the
> TV guide twice or not (I hope not), but regardless, it would appear a
> lot of data in the database is going to need to be duplicated.

True, the grabbing situation isn't ideal. You may have duplicated data
in the db (I'm not sure) but that doesn't seem too bad.

> (PS. I think the channel ID has to be unique for every channel entry -
> I suspect you meant the callsign field).

Sounds right.

Hamish
-- 
Hamish Moffatt VK3SB <hamish at debian.org> <hamish at cloud.net.au>


More information about the mythtv-dev mailing list