Esempio n. 1
0
	def toggleOnOff(self):
		
		if( self.isPaused == 0 ):
			print '***Pausing DVR***'
			dvr.stop(self.dvr)
			self.isPaused = 1
			
		elif( self.isPaused == 1):
			print '***Unpausing DVR***'
			dvr.start(self.dvr)
			self.isPaused = 0
Esempio n. 2
0
    def toggleOnOff(self):

        if self.isPaused == 0:
            print "***Pausing DVR***"
            dvr.stop(self.dvr)
            self.isPaused = 1

        elif self.isPaused == 1:
            print "***Unpausing DVR***"
            dvr.start(self.dvr)
            self.isPaused = 0
Esempio n. 3
0
	def turnOff(self):
		
		dvr.stop(self.dvr)
		self.isPaused = 1
Esempio n. 4
0
    def turnOff(self):

        dvr.stop(self.dvr)
        self.isPaused = 1
 def turnOff(self):
     dvr.stop(self.dvr)