Commits

Guido Draheim  committed c2e597b

plan4 go

  • Participants
  • Parent commits 1fd8951

Comments (0)

Files changed (1)

File src/dvbcronrecording/computer.py

             if previous.item.channelname == current.item.channelname:
                 previous = current
                 continue
-            done = True
-            while not done:
+            done = False
+            if not done:
                 if previous.item.rank < current.item.rank:
                     for adapter in previous.adapters:
                         if adapter != current.adapter:
         if self.algorithm == "plan2":
             return self.plan2(entries)
         self.set_adapters_from_channels_list(self.channels_list())
+        return self.plan4(entries)
         if self.algorithm == "plan3":
             return self.plan3(entries)
         if self.algorithm == "plan4":