seek to start when bouncing at SOF
authorFelix Domke <tmbinc@elitedvb.net>
Fri, 27 Jan 2006 01:08:36 +0000 (01:08 +0000)
committerFelix Domke <tmbinc@elitedvb.net>
Fri, 27 Jan 2006 01:08:36 +0000 (01:08 +0000)
lib/python/Screens/InfoBarGenerics.py

index f1267afa0b5206a885d4dbc9e820ba56e447932b..13d61ae05f677fe11d27e2ed5f2fdf779ad69144 100644 (file)
@@ -704,6 +704,14 @@ class InfoBarSeek:
        
        def __evSOF(self):
                self.setSeekState(self.SEEK_STATE_PLAY)
+               service = self.session.nav.getCurrentService()
+               if service is None:
+                       return
+               seekable = service.seek()
+               if seekable is None:
+                       return
+               seekable.seekRelative(0, 0)
+               
 
 from Screens.PVRState import PVRState