Mailing List archive

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

[vdr] Re: Bugreport Channels.conf and svdrp.c



Ralf Klueber wrote:
> 
> Hello Klaus,
> 
> when the last line in channels.con does not contain a channel
> 
> fe.
> --- schnipp ---
> whateverforachannel:xxx:...
> :@1000
> :( New chanels)
> --- schnipp ---
> 
> the LSTC commands on a telnet connection kills vdr.
> 
> Why having such a channels.conf? I would like to have new channels found
> by the autopid added als 1000++.

This should fix it:

--- channels.c  2003/09/09 18:55:26     1.14
+++ channels.c  2003/10/03 15:12:59
@@ -431,10 +431,11 @@
          if (channel->Number() > Number)
             Number = channel->Number();
          }
-      else
+      else {
+         maxNumber = Number;
          channel->SetNumber(Number++);
+         }
       }
-  maxNumber = Number - 1;
 }
 
 cChannel *cChannels::GetByNumber(int Number, int SkipGap)


Klaus


-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index