[HDMICEC, Transcoding] fix for solose
authorhschang <chang@dev3>
Wed, 14 May 2014 09:42:20 +0000 (18:42 +0900)
committerhschang <chang@dev3>
Wed, 14 May 2014 10:26:12 +0000 (19:26 +0900)
lib/python/Plugins/SystemPlugins/HDMICEC/components/HdmiCec.py
lib/python/Plugins/SystemPlugins/TransCodingSetup/plugin.py

index e73d9a2..149b973 100755 (executable)
@@ -83,6 +83,9 @@ class HdmiCec:
                        "solo": "VU+ Solo",
                        "uno": "VU+ Uno",
                        "ultimo": "VU+ Ultimo",
+                       "solo2": "VU+ Solo2",
+                       "duo2": "VU+ Duo2",
+                       "solose": "VU+ SoloSE",
                }
                if fileExists("/proc/stb/info/vumodel"):
                        vumodel = open("/proc/stb/info/vumodel")
index e6c79d5..6694035 100755 (executable)
@@ -76,7 +76,8 @@ def setAttr(attr, encoder, value):
 
 def createTransCodingConfig(encoder):
        if fileExists( getProcPath(encoder ,"bitrate") ):
-               if getModel() == "solo2":
+               vumodel = getModel()
+               if vumodel in ("solo2", "solose"):
                        choice = TconfigInteger(encoder, default = 400000, limits = (50000, 1000000))
                else:
                        choice = TconfigInteger(encoder, default = 2000000, limits = (100000, 10000000))