From: Ronny Strutz Date: Fri, 2 Sep 2005 21:38:19 +0000 (+0000) Subject: add c++ call X-Git-Tag: 2.6.0~5595 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/d658bfa0954be341e31f1f5b38beaee9ce067e21?hp=ebf2cab97c5c807f29e4759627f95053e434963a add c++ call --- 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)