def __init__(self, session, libraryName): printl("", self, "S") Screen.__init__(self, session) self._session = session self._libraryName = libraryName self._views = getViews() self.currentViewIndex = 0 self.defaultPickle = "" self.onFirstExecBegin.append(self.showDefaultView)
def __init__(self, session, libraryName): ''' ''' printl("", self, "S") Screen.__init__(self, session) self._session = session self._libraryName = libraryName self._views = getViews() self.currentViewIndex = 0 self.defaultPickle = "%sdefault_%s.bin" % (config.plugins.dreamplex.playerTempPath.value, libraryName, ) self.onFirstExecBegin.append(self.showDefaultView) printl("", self, "C")
def __init__(self, session, libraryName): ''' ''' printl("", self, "S") printl("libraryName: " + str(libraryName), self, "D") Screen.__init__(self, session) self._session = session self._libraryName = libraryName self._views = getViews(libraryName) self.currentViewIndex = 0 self.defaultPickle = "%sdefault_%s.bin" % ( config.plugins.dreamplex.playerTempPath.value, libraryName, ) self.onFirstExecBegin.append(self.showDefaultView) printl("", self, "C")