lib/sonos/endpoint/a_v_transport.rb
# Seeks to a given timestamp in the current track
# @param [Fixnum] seconds
Seeks to a given timestamp in the current track
Seeks to a given timestamp in the current track
def seek(seconds = 0)
    timestamp = Time.at(seconds).utc.strftime('%H:%M:%S')
    parse_response send_transport_message('Seek', "<Unit>REL_TIME</Unit><Target>#{timestamp}</Target>")
  end
def seek ( seconds = 0 ) timestamp = Time . at ( seconds ) . utc . strftime ( '%H:%M:%S' ) parse_response send_transport_message ( 'Seek' , "<Unit>REL_TIME</Unit><Target>#{timestamp}</Target>" ) end
Seeks to a given timestamp in the current track
Seeks to a given timestamp in the current track
# Must be sent in the format of HH:MM:SS
seconds
<not_specific>
<not_specific>
None