def configure(self): AbstractShutterPlugin.configure(self) # Build camera exposure compensation list if self._config['CAMERA_EXPOSURE_COMPENSATION_LIST'] == u"±5@1/3": self.__cameraExposureCompensationList = CAMERA_EXPOSURE_COMPENSATION_LIST_1_3 elif self._config['CAMERA_EXPOSURE_COMPENSATION_LIST'] == u"±5@1/2": self.__cameraExposureCompensationList = CAMERA_EXPOSURE_COMPENSATION_LIST_1_2 Logger().debug("NkRemoteShutter.configure(): camera exposure compensation table=%s" % \ self.__cameraExposureCompensationList) # Build user exposure compensation list self.__userExposureCompensationList = self._config['USER_EXPOSURE_COMPENSATION_LIST'].split(',') Logger().debug("NkRemoteShutter.configure(): user exposure compensation list=%s" % \ self.__userExposureCompensationList)
def stopConnection(self): Logger().trace("GphotoBracketShutter.stopConnection()") AbstractShutterPlugin.stopConnection(self) if self.__gphotoShell is not None: self.__gphotoShell.quit() self.__gphotoShell = None
def _init(self): Logger().trace("ShutterPlugin._init()") AbstractShutterPlugin._init(self) self._LastShootTime = time.time()
def init(self): Logger().trace("DslrRemoteProShutter.init()") AbstractShutterPlugin.init(self) self.configure()