class BookmarkManager(SimpleConfigParser):
_instance = None
- def __new__(cls, *args, **kwargs):
- if not cls._instance:
- cls._instance = super(Singleton, cls).__new__(
- cls, *args, **kwargs)
- return cls._instance
+ def __new__(cls, *args, **kwargs):
+ if not cls._instance:
+ cls._instance = super(Singleton, cls).__new__(cls, *args, **kwargs)
+ return cls._instance
def __init__(self, _dbFileName):
SimpleConfigParser.__init__(self)
-
self.mBookmarkRoot = None
self.mDebugEnable = True
f = file('/proc/stb/info/vumodel')
model = f.read().strip()
f.close()
- manualmode = (model == "solo2" or model == "duo2")
+ manualmode = (model == "solo2" or model == "duo2" or model == "solose")
os.system('echo "[__SYS__]" > %s'%(_dbFileName))
os.system('echo "category_current_idx = 1" >> %s'%(_dbFileName))