fix crash on selecting new dvd iso/directory from file browser with a playback alread...
authorAndreas Frisch <andreas.frisch@multimedia-labs.de>
Fri, 11 Jul 2008 08:25:53 +0000 (08:25 +0000)
committerAndreas Frisch <andreas.frisch@multimedia-labs.de>
Fri, 11 Jul 2008 08:25:53 +0000 (08:25 +0000)
lib/python/Plugins/Extensions/DVDPlayer/plugin.py

index 6a69de4..0db850a 100644 (file)
@@ -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 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
                                self.showFileBrowser()
                        else:
                                pass
@@ -599,7 +601,6 @@ class DVDPlayer(Screen, InfoBarBase, InfoBarNotifications, InfoBarSeek, InfoBarP
                        self.show()
 
        def createSummary(self):
                        self.show()
 
        def createSummary(self):
-               print "DVDCreateSummary"
                return DVDSummary
 
 #override some InfoBarSeek functions
                return DVDSummary
 
 #override some InfoBarSeek functions