Commits

Guido Draheim committed ac1ecbb

tuning_channel is actually unused

  • Participants
  • Parent commits caef83c

Comments (0)

Files changed (2)

File src/dvbcronrecording/computer.py

         self.message = ""
         self.rank = 0.0
         self.cloned = None
-        self.tuning_channel = None
         self.tuning_adapter = None
     def clone(self):
         item = RecorderItem()
         item.message = self.message
         item.rank = self.rank 
         item.cloned = self
-        item.tuning_channel = self.tuning_channel
         item.tuning_adapter = self.tuning_adapter
         return item
     def __unicode__(self):

File src/dvbcronrecording/core.py

                 filename = ustr("%s.mpg") % (quote4(item.title))
                 channelname = item.channelname
                 adapter = item.tuning_adapter
-                channel = item.tuning_channel
+                channel = item.channelname
                 if not adapter: adapter = "0"
                 for tuning in self._channelname_to_channelconflist(req, channelname):
                     # TODO: allow to change the adapter
                 frontend = 0
                 if ":" in adapter:
                     adapter, frontend = adapter.split(":",1)
-                channel = item.channelname
                 channelsconf = self.cron_channelsconf_filename(adapter)
                 format = "%Y%m%d-"+ustr(adapter)+"%a-%H%M"
                 prefix = self.intodir+"/"