1 from Screen import Screen
2 from MessageBox import MessageBox
4 from Components.AVSwitch import AVSwitch
9 def __init__(self, session):
10 Screen.__init__(self, session)
12 self.avswitch = AVSwitch()
14 self.avswitch.setInput("SCART")
16 self.onShown.append(self.showMessageBox)
18 def showMessageBox(self):
19 self.session.openWithCallback(self.switchToTV, MessageBox, _("If you see this, something is wrong with\nyour scart connection. Press OK to return."), MessageBox.TYPE_ERROR)
21 def switchToTV(self, val):
22 self.avswitch.setInput("ENCODER")