Do not show resume notification when playing a DVD image
authorlittlesat <littlesat99@yahoo.com>
Wed, 5 Aug 2015 19:34:21 +0000 (21:34 +0200)
committerlittlesat <littlesat99@yahoo.com>
Wed, 5 Aug 2015 19:34:21 +0000 (21:34 +0200)
lib/python/Screens/InfoBarGenerics.py

index fab0f59..2037723 100644 (file)
@@ -2856,7 +2856,8 @@ class InfoBarCueSheetSupport:
                print "new service started! trying to download cuts!"
                self.downloadCuesheet()
 
-               if self.ENABLE_RESUME_SUPPORT:
+               service = self.session.nav.getCurrentlyPlayingServiceOrGroup()
+               if self.ENABLE_RESUME_SUPPORT and not(service and service.toString().startswith("4369:")): #when resume support and not a DVD
                        for (pts, what) in self.cut_list:
                                if what == self.CUT_TYPE_LAST:
                                        last = pts