aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Plugins/Extensions/DVDPlayer/plugin.py
diff options
context:
space:
mode:
authorAndreas Frisch <andreas.frisch@multimedia-labs.de>2008-08-18 10:22:45 +0000
committerAndreas Frisch <andreas.frisch@multimedia-labs.de>2008-08-18 10:22:45 +0000
commitf97fa9bd92923baa4ae2aa1f6b28c23c907a3473 (patch)
tree5147effe25954cfbccd163140c3ab025e118921b /lib/python/Plugins/Extensions/DVDPlayer/plugin.py
parent1c12be1f77fee011b3b414d86730c1c73e3650b4 (diff)
downloadenigma2-f97fa9bd92923baa4ae2aa1f6b28c23c907a3473.tar.gz
enigma2-f97fa9bd92923baa4ae2aa1f6b28c23c907a3473.zip
speed up resume (allows skipping into titles) *remember to update libdreamdvd0 - thx to seddi*
Diffstat (limited to 'lib/python/Plugins/Extensions/DVDPlayer/plugin.py')
-rw-r--r--lib/python/Plugins/Extensions/DVDPlayer/plugin.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/python/Plugins/Extensions/DVDPlayer/plugin.py b/lib/python/Plugins/Extensions/DVDPlayer/plugin.py
index 79a13e6a..03f1ccc9 100644
--- a/lib/python/Plugins/Extensions/DVDPlayer/plugin.py
+++ b/lib/python/Plugins/Extensions/DVDPlayer/plugin.py
@@ -587,9 +587,12 @@ class DVDPlayer(Screen, InfoBarBase, InfoBarNotifications, InfoBarSeek, InfoBarP
def playLastCB(self, answer): # overwrite infobar cuesheet function
print "playLastCB", answer, self.resume_point
- if self.service and answer == True:
+ if self.service:
seek = self.service.seek()
- seek.seekTo(self.resume_point)
+ if answer == True:
+ seek.seekTo(self.resume_point)
+ pause = self.service.pause()
+ pause.unpause()
self.hideAfterResume()
def showAfterCuesheetOperation(self):