def keySelect(self): item = self.getCurrentItem() if item in (config.usage.default_path, config.usage.timer_path, config.usage.instantrec_path): # print("[Recordings] DEBUG: '%s', '%s', '%s'." % (self.getCurrentEntry(), item.value, preferredPath(item.value))) self.session.openWithCallback(self.pathSelect, MovieLocationBox, self.getCurrentEntry(), preferredPath(item.value)) else: Setup.keySelect(self)
def keySelect(self): if self["config"].getCurrent()[1] == config.mediaplayer.defaultDir: self.session.openWithCallback( self.DirectoryBrowserClosed, DirectoryBrowser, self.parent.filelist.getCurrentDirectory()) return Setup.keySelect(self)
def keySelect(self): if self.getCurrentItem() is config.usage.timeshift_path: self.session.openWithCallback(self.pathSelect, TimeshiftLocationBox) else: Setup.keySelect(self)
def keySelect(self): if self.getCurrentItem() == config.hdmicec.log_path: self.set_path() else: Setup.keySelect(self)