aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Plugins/Extensions/DVDPlayer/plugin.py
diff options
context:
space:
mode:
authorFraxinas <andreas.frisch@multimedia-labs.de>2011-01-27 17:04:02 +0100
committerFraxinas <andreas.frisch@multimedia-labs.de>2011-01-27 17:04:02 +0100
commit6b2d6f1d24af4d81fda1e9ebc4d11a5df3e8110a (patch)
tree180ab20eb26d4693a29db970f7fcb6340eea9084 /lib/python/Plugins/Extensions/DVDPlayer/plugin.py
parent59b783ebcdd871129087219a6ee1929e46e7a2e6 (diff)
downloadenigma2-6b2d6f1d24af4d81fda1e9ebc4d11a5df3e8110a.tar.gz
enigma2-6b2d6f1d24af4d81fda1e9ebc4d11a5df3e8110a.zip
experimentally enable AudioSelection Dialog for DVDPlayer (#440)
Diffstat (limited to 'lib/python/Plugins/Extensions/DVDPlayer/plugin.py')
-rwxr-xr-xlib/python/Plugins/Extensions/DVDPlayer/plugin.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/python/Plugins/Extensions/DVDPlayer/plugin.py b/lib/python/Plugins/Extensions/DVDPlayer/plugin.py
index e1ab3ef4..259e52b8 100755
--- a/lib/python/Plugins/Extensions/DVDPlayer/plugin.py
+++ b/lib/python/Plugins/Extensions/DVDPlayer/plugin.py
@@ -4,7 +4,7 @@ from Screens.Screen import Screen
from Screens.MessageBox import MessageBox
from Screens.ChoiceBox import ChoiceBox
from Screens.HelpMenu import HelpableScreen
-from Screens.InfoBarGenerics import InfoBarSeek, InfoBarPVRState, InfoBarCueSheetSupport, InfoBarShowHide, InfoBarNotifications
+from Screens.InfoBarGenerics import InfoBarSeek, InfoBarPVRState, InfoBarCueSheetSupport, InfoBarShowHide, InfoBarNotifications, InfoBarAudioSelection, InfoBarSubtitleSupport
from Components.ActionMap import ActionMap, NumberActionMap, HelpableActionMap
from Components.Label import Label
from Components.Sources.StaticText import StaticText
@@ -195,7 +195,7 @@ class ChapterZap(Screen):
self.Timer.callback.append(self.keyOK)
self.Timer.start(3000, True)
-class DVDPlayer(Screen, InfoBarBase, InfoBarNotifications, InfoBarSeek, InfoBarPVRState, InfoBarShowHide, HelpableScreen, InfoBarCueSheetSupport):
+class DVDPlayer(Screen, InfoBarBase, InfoBarNotifications, InfoBarSeek, InfoBarPVRState, InfoBarShowHide, HelpableScreen, InfoBarCueSheetSupport, InfoBarAudioSelection, InfoBarSubtitleSupport):
ALLOW_SUSPEND = Screen.SUSPEND_PAUSES
ENABLE_RESUME_SUPPORT = True
@@ -275,6 +275,8 @@ class DVDPlayer(Screen, InfoBarBase, InfoBarNotifications, InfoBarSeek, InfoBarP
InfoBarNotifications.__init__(self)
InfoBarCueSheetSupport.__init__(self, actionmap = "MediaPlayerCueSheetActions")
InfoBarShowHide.__init__(self)
+ InfoBarAudioSelection.__init__(self)
+ InfoBarSubtitleSupport.__init__(self)
HelpableScreen.__init__(self)
self.save_infobar_seek_config()
self.change_infobar_seek_config()
@@ -553,7 +555,8 @@ class DVDPlayer(Screen, InfoBarBase, InfoBarNotifications, InfoBarSeek, InfoBarP
self.sendKey(iServiceKeys.keyUser+1)
def enterDVDAudioMenu(self):
- self.sendKey(iServiceKeys.keyUser+2)
+ self.audioSelection()
+ #self.sendKey(iServiceKeys.keyUser+2)
def nextChapter(self):
self.sendKey(iServiceKeys.keyUser+3)