when no listbox instance is available yet, index will be 0 when list is there, so...
[enigma2.git] / lib / python / Components / Sources / CurrentService.py
index f49f0323a9ef17dbd621009a7cbab0a9288609f8..acc624a2860a433b22db5c2877a8ba9762c11518 100644 (file)
@@ -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