Merge branch 'vuplus_experimental' of code.vuplus.com:/opt/repository/dvbapp into...
[vuplus_dvbapp] / lib / python / Plugins / Extensions / HbbTV / bookmark.py
index e0c4858..6e5dd7b 100644 (file)
@@ -109,15 +109,13 @@ class SimpleConfigParser:
 
 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
 
@@ -126,7 +124,7 @@ class BookmarkManager(SimpleConfigParser):
                        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))