follow core event changes
[enigma2.git] / lib / python / Components / ServiceName.py
index a9c0930a88e3b870e7259e936745831ab889b7c6..c3cd8f03e1113ab64b63f99ea58b59cfd19b9a49 100644 (file)
@@ -1,14 +1,14 @@
 from PerServiceDisplay import *
 
-#from enigma import pNavigation, iServiceInformationPtr
+#from enigma import iPlayableService, iServiceInformationPtr
 from enigma import *
 
 class ServiceName(PerServiceDisplay):
        def __init__(self, navcore):
                PerServiceDisplay.__init__(self, navcore,
                        {
-                               pNavigation.evNewService: self.newService,
-                               pNavigation.evStopService: self.stopEvent
+                               iPlayableService.evStart: self.newService,
+                               iPlayableService.evEnd: self.stopEvent
                        })
 
        def newService(self):