Commits

Guido Draheim committed ce8bc14

align the name

  • Participants
  • Parent commits c1ee599

Comments (0)

Files changed (2)

File src/dvbcronrecording/computer.py

 
 months_ahead = 3
     
-class TracCronRecordingPlanComputer(Component):
+class DvbCronRecordingPlanComputer(Component):
     """ it is a component but it does not have its own database tables - it 
         just helps to turn the recording list into a proper recording plan. """
         

File src/dvbcronrecording/core.py

 from trac.config import Option, ListOption, PathOption, BoolOption
 
 from translate import Translate #@UnresolvedImport
-from computer import TracCronRecordingPlanComputer, MMMtoHHMM
+from computer import DvbCronRecordingPlanComputer, MMMtoHHMM
 try:
     from channels import DvbCronRecordingChannelsPlugin
 except:
         return "\n".join(list(self.loadtextlines(req)))
     def loadtextlines(self, req):
         entries = self._recordings_list(req)
-        computer = TracCronRecordingPlanComputer(self.env)
+        computer = DvbCronRecordingPlanComputer(self.env)
         plan = computer.plan(entries)
         for group in plan.groups():
             newtime = MMMtoHHMM(group.newtimeMMM).replace(":","")
         entries = self._recordings_list(req)
         return list(self._recording_plan_from(entries))
     def _recording_plan_from(self, entries):
-        computer = TracCronRecordingPlanComputer(self.env)
+        computer = DvbCronRecordingPlanComputer(self.env)
         plan = computer.plan(entries)
         for item in plan.items():
             yield item
     """
     def _makefile_entries(self, req):
         entries = self._recordings_list(req)
-        computer = TracCronRecordingPlanComputer(self.env)
+        computer = DvbCronRecordingPlanComputer(self.env)
         plan = computer.plan(entries)
         for group in plan.groups():
             if not group.items: continue