git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add clock to lcd
[enigma2.git]
/
lib
/
python
/
Components
/
AVSwitch.py
diff --git
a/lib/python/Components/AVSwitch.py
b/lib/python/Components/AVSwitch.py
index 7407ae722484c8aff194a4d26c958076a4b2ecd9..8da370e3741a95b89db34b2eada9f80f158370d2 100644
(file)
--- a/
lib/python/Components/AVSwitch.py
+++ b/
lib/python/Components/AVSwitch.py
@@
-1,24
+1,22
@@
from config import *
from config import *
+import os
class AVSwitch:
def __init__(self):
pass
def setColorFormat(self, value):
class AVSwitch:
def __init__(self):
pass
def setColorFormat(self, value):
- print "colorformat
"
- print value
+ print "colorformat
:" + str(value)
+ os.system("scart " + str(value))
def setAspectRatio(self, value):
def setAspectRatio(self, value):
- print "aspectratio"
- print value
+ print "aspectratio:" + str(value)
def setSystem(self, value):
def setSystem(self, value):
- print "system"
- print value
+ print "system:" + str(value)
def setWSS(self, value):
def setWSS(self, value):
- print "wss"
- print value
+ print "wss:" + str(value)
def InitAVSwitch():
config.av = ConfigSubsection();
def InitAVSwitch():
config.av = ConfigSubsection();