X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/10596a20cb910a6614a96e002eaca83bba528b61..bb3620cbe20ad4a79e40efbd81e483fa2819762b:/lib/python/Components/AVSwitch.py diff --git a/lib/python/Components/AVSwitch.py b/lib/python/Components/AVSwitch.py index b42d74c2..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) @@ -44,7 +45,3 @@ def InitAVSwitch(): config.av.tvsystem.addNotifier(setSystem); config.av.wss.addNotifier(setWSS); - - config.save() - -