- fix av switch
authorFelix Domke <tmbinc@elitedvb.net>
Wed, 31 Aug 2005 18:28:38 +0000 (18:28 +0000)
committerFelix Domke <tmbinc@elitedvb.net>
Wed, 31 Aug 2005 18:28:38 +0000 (18:28 +0000)
lib/python/Components/AVSwitch.py

index df2020d..8da370e 100644 (file)
@@ -1,4 +1,5 @@
 from config import *
 from config import *
+import os
 
 class AVSwitch:
        def __init__(self):
 
 class AVSwitch:
        def __init__(self):
@@ -6,6 +7,7 @@ class AVSwitch:
 
        def setColorFormat(self, value):
                print "colorformat:" + str(value)
 
        def setColorFormat(self, value):
                print "colorformat:" + str(value)
+               os.system("scart " + str(value))
                
        def setAspectRatio(self, value):
                print "aspectratio:" + str(value)
                
        def setAspectRatio(self, value):
                print "aspectratio:" + str(value)