Beispiel #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
Beispiel #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
Beispiel #3
0
	def turnOff(self):
		
		dvr.stop(self.dvr)
		self.isPaused = 1
Beispiel #4
0
    def turnOff(self):

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