[vdr] Rotor Plugin fix for circular polarity

M Racine micheljr at gmail.com
Sat Sep 10 04:05:55 CEST 2005


Skipped content of type multipart/alternative-------------- next part --------------
--- ./rotor.c.orig	2005-09-09 21:49:52.000000000 -0400
+++ ./rotor.c	2005-09-09 21:51:06.000000000 -0400
@@ -101,6 +101,19 @@
         }   
       } 
     }
+    if (diseqc=Diseqcs.Get(source->Code(),12000,'l')) 
+    {
+      char *CurrentAction = NULL;
+      while ((diseqc->Execute(&CurrentAction))!= cDiseqc::daNone)  
+      {
+        codes = diseqc->Codes(n);
+        if (n==4 && (*codes==0xe0 || *codes==0xe1) && (*(codes+1)==0x30 || *(codes+1)==0x31) && *(codes+2)==0x6b)
+        {
+          List.Add(cSource::ToString(source->Code()),source->Description(),*(codes+3),source->Code());
+          break;
+        }   
+      } 
+    }
     if (!List.GetfromSource(source->Code()) && ((source->Code() & 0xC000) == 0x8000))
       List.Add(cSource::ToString(source->Code()),source->Description(),0,source->Code());
   }


More information about the vdr mailing list