Fix Mediaplayer crash for WAV playback and add basic Audio CD support (needs kernel...
[enigma2.git] / ServiceReference.py
index 787c5c4..11e2878 100644 (file)
@@ -1,7 +1,4 @@
-
-from enigma import *
-
-import NavigationInstance
+from enigma import eServiceReference, eServiceCenter
 
 class ServiceReference(eServiceReference):
        def __init__(self, ref):
 
 class ServiceReference(eServiceReference):
        def __init__(self, ref):
@@ -18,17 +15,8 @@ class ServiceReference(eServiceReference):
                info = self.info()
                return info and info.getName(self.ref) or ""
 
                info = self.info()
                return info and info.getName(self.ref) or ""
 
-       def play(self):
-               return self.serviceHandler.info(self.ref)
-       
-       def record(self):
-               return self.serviceHandler.record(self.ref)
-       
-       def list(self):
-               return self.serviceHandler.list(self.ref)
-       
        def info(self):
                return self.serviceHandler.info(self.ref)
 
        def info(self):
                return self.serviceHandler.info(self.ref)
 
-       def offlineOperations(self):
-               return self.serviceHandler.offlineOperations(self.ref)
+       def list(self):
+               return self.serviceHandler.list(self.ref)