--- InfoBarGenerics.py.orig.4.1.012 +++ InfoBarGenerics.py @@ -3575,6 +3575,12 @@ Notifications.AddNotificationWithCallback(self.playLastCB, MessageBox, _("Resuming playback"), timeout=2, type=MessageBox.TYPE_INFO) def playLastCB(self, answer): +# This can occasionally get called with an empty (new?) self!?! +# So avoid the inevitable crash that will follow if we don't check. +# + if answer == True and not hasattr(self, "resume_point"): + Notifications.AddPopup(text = _("Playback information missing\nPlayback aborted to avoid crash\nPlease retry"), type = MessageBox.TYPE_WARNING, timeout = 8) + return if answer == True and self.resume_point: self.doSeek(self.resume_point) self.hideAfterResume()