fix servicePosition
[vuplus_dvbapp] / lib / python / Components / SetupDevices.py
index 5ced845..3161f12 100644 (file)
@@ -4,6 +4,7 @@ from config import configElement
 from config import ConfigSubsection
 from config import ConfigSlider
 from config import configSelection
+from config import configText
 
 def InitSetupDevices():
        config.timezone = ConfigSubsection();
@@ -32,3 +33,11 @@ def InitSetupDevices():
        config.expert.skipconfirm = configElement("config.expert.skipconfirm", configSelection, 1, ("Enable", "Disable") );
        config.expert.hideerrors = configElement("config.expert.hideerrors", configSelection, 1, ("Enable", "Disable") );
        config.expert.autoinfo = configElement("config.expert.autoinfo", configSelection, 1, ("Enable", "Disable") );
+
+       #here?
+       config.tv = ConfigSubsection();
+       config.tv.lastservice = configElement("config.tv.lastservice", configText, "", 0);
+       
+       config.tv.lastservice.value = "blasel"
+       config.tv.lastservice.save()
+