+ elif self.type == self.TUNER_TYPE:
+ type = self.source.frontend_type
+ if type == 'DVB-S':
+ return 0
+ elif type == 'DVB-C':
+ return 1
+ elif type == 'DVB-T':
+ return 2
+ return -1
+ elif self.type == self.SLOT_NUMBER:
+ num = self.source.slot_number
+ return num is None and -1 or num