Ejemplo n.º 1
0
 def Position(self):
     pos = PLAYER.get_position() / NANOSECOND * MICROSECOND
     return dbus.Int64(pos)
Ejemplo n.º 2
0
 def Seek(self, offset):
     position = PLAYER.get_position() / NANOSECOND
     position += offset / MICROSECOND
     PLAYER.seek(position)