-from Screens.Screen import Screen
-from Plugins.Plugin import PluginDescriptor
-
from enigma import eTimer
-
-from Components.ActionMap import ActionMap
-from Components.Label import Label
-from Components.Pixmap import Pixmap
-from Screens.MessageBox import MessageBox
-from Screens.Setup import SetupSummary
-from Components.ConfigList import ConfigListScreen
-from Components.config import getConfigListEntry, config, ConfigSelection, ConfigSubDict, ConfigYesNo
+from Components.config import config, ConfigSelection, ConfigSubDict, ConfigYesNo
from Tools.CList import CList
"multi": { 50: "1080i50", 60: "1080i" } }
rates["PC"] = {
- "1024x768": { 60: "1024x768"}, # not possible on DM7025
- "800x600" : { 60: "800x600"}, # also not possible
- "720x480" : { 60: "720x480"},
- "720x576" : { 60: "720x576"},
- "1280x720": { 60: "1280x720"},
- "1280x720 multi": { 50: "1280x720_50", 60: "1280x720"},
+ "1024x768": { 60: "1024x768" }, # not possible on DM7025
+ "800x600" : { 60: "800x600" }, # also not possible
+ "720x480" : { 60: "720x480" },
+ "720x576" : { 60: "720x576" },
+ "1280x720": { 60: "1280x720" },
+ "1280x720 multi": { 50: "1280x720_50", 60: "1280x720" },
"1920x1080": { 60: "1920x1080"},
- "1920x1080 multi": { 50: "1920x1080", 60: "1920x1080_50"},
+ "1920x1080 multi": { 50: "1920x1080", 60: "1920x1080_50" },
"1280x1024" : { 60: "1280x1024"},
"1366x768" : { 60: "1366x768"},
- "1366x768 multi" : { 50: "1366x768", 60: "1366x768_50"},
- "1280x768": { 60: "1280x768"},
- "640x480" : { 60: "640x480"}
+ "1366x768 multi" : { 50: "1366x768", 60: "1366x768_50" },
+ "1280x768": { 60: "1280x768" },
+ "640x480" : { 60: "640x480" }
}
modes["Scart"] = ["PAL", "NTSC", "Multi"]
self.updateAspect(None)
def saveMode(self, port, mode, rate):
+ print "saveMode", port, mode, rate
config.av.videoport.value = port
config.av.videoport.save()
config.av.videomode[port].value = mode