lib/sonos/endpoint/a_v_transport.rb
# Play the currently selected track or play a stream.
# @param [String] uri Optional uri of the track to play. Leaving this blank, plays the current track.
Play the currently selected track or play a stream.
Play the currently selected track or play a stream .
def play(uri = nil)
    set_av_transport_uri(uri) and return if uri
    parse_response send_transport_message('Play')
  end
def play ( uri = nil ) set_av_transport_uri ( uri ) and return if uri parse_response send_transport_message ( 'Play' ) end
Play the currently selected track or play a stream.
Play the currently selected track or play a stream .
# Play a song from the uri # Play the currently selected track
uri
<not_specific>
<not_specific>
uri Optional uri of the track to play. Leaving this blank, plays the current track.
uri Optional uri of the track to play . Leaving this blank plays the current track .