X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/9d3112aad388b4369a339b851aa2507a02bb2d4f..bcbd5801c2be23b2ee1a22e7b088fc2fb654f1c9:/lib/python/Components/Sources/CurrentService.py diff --git a/lib/python/Components/Sources/CurrentService.py b/lib/python/Components/Sources/CurrentService.py index f49f0323..2501c176 100644 --- a/lib/python/Components/Sources/CurrentService.py +++ b/lib/python/Components/Sources/CurrentService.py @@ -3,8 +3,6 @@ from enigma import iPlayableService from Source import Source from Components.Element import cached -from time import time - class CurrentService(PerServiceBase, Source): def __init__(self, navcore): Source.__init__(self) @@ -16,7 +14,8 @@ class CurrentService(PerServiceBase, Source): # which is not always provided. iPlayableService.evUpdatedInfo: self.serviceEvent, iPlayableService.evUpdatedEventInfo: self.serviceEvent, - iPlayableService.evCuesheetChanged: self.serviceEvent + iPlayableService.evCuesheetChanged: self.serviceEvent, + iPlayableService.evVideoSizeChanged: self.serviceEvent }, with_event=True) self.navcore = navcore @@ -28,3 +27,8 @@ class CurrentService(PerServiceBase, Source): return self.navcore.getCurrentService() service = property(getCurrentService) + + def destroy(self): + PerServiceBase.destroy(self) + Source.destroy(self) +