aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python/Components')
-rw-r--r--lib/python/Components/AVSwitch.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/python/Components/AVSwitch.py b/lib/python/Components/AVSwitch.py
index 739b6cd0..fea27a65 100644
--- a/lib/python/Components/AVSwitch.py
+++ b/lib/python/Components/AVSwitch.py
@@ -1,13 +1,14 @@
from config import *
import os
+from enigma import *
class AVSwitch:
def __init__(self):
pass
def setColorFormat(self, value):
- print "colorformat:" + str(value)
- os.system("scart " + str(value))
+ #print "colorformat:" + str(value)
+ eAVSwitch.getInstance().setColorFormat(value)
def setAspectRatio(self, value):
print "aspectratio:" + str(value)