code: def _position(self):
          
          position = 0
          if self.state != STATE_IDLE:
              resp = self._player.query_position(_FORMAT_TIME)
              position = resp[1] // _NANOSEC_MULT
          return position
docs: Get media position.