Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: Two DVB-t cards



Sergei Haller wrote:
> 
> On Fri, 5 Apr 2002, Andreas Roedl (AR) wrote:
> 
> AR> Am Donnerstag, 4. April 2002 23:58 schrieb Simon Dean:
> AR>
> AR> > At the moment I only have an aerial cable for the primary card and the
> AR> > budget card has no aerial.
> AR>
> AR> You should give the second card a cable too! :-)
> 
> or at least connect the cable to the second card - so at least you will be
> able to use timeshifting...
> 
> AR> > This only happens after a few minutes and will lock out keyboard control
> AR> > of VDR once it starts.  Is it trying to collect EPG data and if so why
> AR> > is it trying to do this on a card that has been set to not use these
> AR> > channels?
> AR>
> AR> Because that's his job! Turn of the automatic EPG scan by setting
> AR> "EPGScanTimeout" (Menu/Settings/EPG) to "0".
> 
> yes, that's a workaround.
> 
> but vdr shouldn't try to tune the second card to a channel which ca
> parameter is set to "1", telling that only the first card is able to
> receive this channel.

Please try this modification, which should implement this:

--- dvbapi.c    2002/04/06 11:08:54     1.167
+++ dvbapi.c    2002/04/06 13:14:40
@@ -2804,12 +2804,16 @@
                               numTransponders = 0;
                               }
                            cChannel *Channel = Channels.GetByNumber(ch);
-                           if (Channel && Channel->pnr && !TransponderScanned(Channel)) {
-                              if (DvbApi == cDvbApi::PrimaryDvbApi && !currentChannel)
-                                 currentChannel = DvbApi->Channel();
-                              Channel->Switch(DvbApi, false);
-                              lastChannel = ch;
-                              break;
+                           if (Channel) {
+                              if (Channel->ca <= MAXDVBAPI && !DvbApi->ProvidesCa(Channel->ca))
+                                 break; // the channel says it explicitly needs a different card
+                              if (Channel->pnr && !TransponderScanned(Channel)) {
+                                 if (DvbApi == cDvbApi::PrimaryDvbApi && !currentChannel)
+                                    currentChannel = DvbApi->Channel();
+                                 Channel->Switch(DvbApi, false);
+                                 lastChannel = ch;
+                                 break;
+                                 }
                               }
                            ch++;
                            }

Klaus
-- 
_______________________________________________________________

Klaus Schmidinger                       Phone: +49-8635-6989-10
CadSoft Computer GmbH                   Fax:   +49-8635-6989-40
Hofmark 2                               Email:   kls@cadsoft.de
D-84568 Pleiskirchen, Germany           URL:     www.cadsoft.de
_______________________________________________________________



Home | Main Index | Thread Index