fix servicePosition
authorFelix Domke <tmbinc@elitedvb.net>
Tue, 15 Nov 2005 05:04:53 +0000 (05:04 +0000)
committerFelix Domke <tmbinc@elitedvb.net>
Tue, 15 Nov 2005 05:04:53 +0000 (05:04 +0000)
lib/python/Components/ServicePosition.py

index e402751..7bfef93 100644 (file)
@@ -33,7 +33,7 @@ class ServicePosition(PerServiceDisplay):
                self.available = 0
                
                if service != None:
                self.available = 0
                
                if service != None:
-                       seek = service.seek(seek)
+                       seek = service.seek()
                        if seek != None:
                                if self.type != self.TYPE_LENGTH:
                                        self.updateTimer.start(500)
                        if seek != None:
                                if self.type != self.TYPE_LENGTH:
                                        self.updateTimer.start(500)
@@ -47,7 +47,7 @@ class ServicePosition(PerServiceDisplay):
                service = self.navcore.getCurrentService()
                
                if service != None:
                service = self.navcore.getCurrentService()
                
                if service != None:
-                       seek = service.seek(seek)
+                       seek = service.seek()
                        if seek != None:
                                if what == self.TYPE_LENGTH:
                                        r = seek.getLength()
                        if seek != None:
                                if what == self.TYPE_LENGTH:
                                        r = seek.getLength()