def seek(value,type = :relative)
      command = case type
      when :percent then "seek #{value} 1"
      when :absolute then "seek #{value} 2"
      else "seek #{value} 0"
      end
      resp = command command, /Position/
      resp.gsub("Position: ","").gsub(" %\n","")
    end
def seek(value,type = :relative)
      command = case type
      when :percent then "seek #{value} 1"
      when :absolute then "seek #{value} 2"
      else "seek #{value} 0"
      end
      resp = command command, /Position/
      resp.gsub("Position: ","").gsub(" %\n","")
    end
Seek to some place in the file
 :relative is a relative seek of +/- <value> seconds (default).
 :perecent is a seek to <value> % in the file.
 :absolute is a seek to an absolute position of <value> seconds.