From 9672c9e353abdc56784d21567fdb32c03a9aa0b7 Mon Sep 17 00:00:00 2001 From: Andreas Frisch Date: Fri, 11 Jul 2008 08:25:53 +0000 Subject: fix crash on selecting new dvd iso/directory from file browser with a playback already running --- lib/python/Plugins/Extensions/DVDPlayer/plugin.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/python/Plugins/Extensions/DVDPlayer/plugin.py') diff --git a/lib/python/Plugins/Extensions/DVDPlayer/plugin.py b/lib/python/Plugins/Extensions/DVDPlayer/plugin.py index 6a69de42..0db850a4 100644 --- a/lib/python/Plugins/Extensions/DVDPlayer/plugin.py +++ b/lib/python/Plugins/Extensions/DVDPlayer/plugin.py @@ -561,6 +561,8 @@ class DVDPlayer(Screen, InfoBarBase, InfoBarNotifications, InfoBarSeek, InfoBarP if answer[1] == "browser": #TODO check here if a paused dvd playback is already running... then re-start it... #else + if self.service: + self.service = None self.showFileBrowser() else: pass @@ -599,7 +601,6 @@ class DVDPlayer(Screen, InfoBarBase, InfoBarNotifications, InfoBarSeek, InfoBarP self.show() def createSummary(self): - print "DVDCreateSummary" return DVDSummary #override some InfoBarSeek functions -- cgit v1.2.3