From d658bfa0954be341e31f1f5b38beaee9ce067e21 Mon Sep 17 00:00:00 2001 From: Ronny Strutz Date: Fri, 2 Sep 2005 21:38:19 +0000 Subject: [PATCH 1/1] add c++ call --- lib/python/Components/AVSwitch.py | 5 +++-- 1 file 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) -- 2.30.2