[mythtv] [PATCH] Allow to select the satellite when inserting advb channel

Leandro Dardini ldardini at tiscali.it
Mon Apr 12 03:12:08 EDT 2004


----- Original Message ----- 
From: "Isaac Richards" <ijr at po.cwru.edu>
To: "Development of mythtv" <mythtv-dev at mythtv.org>
Sent: Saturday, April 10, 2004 8:04 PM
Subject: Re: [mythtv] [PATCH] Allow to select the satellite when inserting
advb channel


> On Wednesday 31 March 2004 03:44 pm, Leandro Dardini wrote:
> > Hello,
> > the attached patch corrects a little bug in the satellite selection when
> > inserting a new dvb channel. When you insert a new dvb channel, the
chanid
> > value is not initialized, so the query always returns zero rows.
Modifying
> > the dvb channel, only the selected satellite is inserted in the combo
box,
> > so it is impossibile to choose another satellite.
> > This patch corrects this behaviour, letting the user to choose the
> > satellite where to find the dvb channel.
>
> This doesn't look correct to me -- you're going to end up with a list of
all
> defined satellites, not just those available on the card.
>

Yes, you are right. All the available satellite are shown. The correct way
is to get the sourceid selected in the ChannelOptionsCommon, get the cardid
associated and then the satid available on these cards.
But... how can I get the sourceid selected from within the DvbSatellite
class?

Leandro



More information about the mythtv-dev mailing list