aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
authorRonny Strutz <ronny.strutz@multimedia-labs.de>2005-09-02 21:38:19 +0000
committerRonny Strutz <ronny.strutz@multimedia-labs.de>2005-09-02 21:38:19 +0000
commitd658bfa0954be341e31f1f5b38beaee9ce067e21 (patch)
tree8cf7928acbda07bae7e283e97353d20e725f0210 /lib/python
parentebf2cab97c5c807f29e4759627f95053e434963a (diff)
downloadenigma2-d658bfa0954be341e31f1f5b38beaee9ce067e21.tar.gz
enigma2-d658bfa0954be341e31f1f5b38beaee9ce067e21.zip
add c++ call
Diffstat (limited to 'lib/python')
-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)