lib/sonos/features/voiceover.rb
# Interrupts the speaker and plays the provided URI. When finished, returns the play head
# and state to their original position. Useful for doorbell sounds, announcements, etc.
Interrupts the speaker and plays the provided URI. When finished, returns the play head
and state to their original position. Useful for doorbell sounds, announcements, etc.
Interrupts the speaker and plays the provided URI . When finished returns the play head and state to their original position . Useful for doorbell sounds announcements etc .
def play_blocking(uri)
    play uri
    play
    sleep(0.1) while is_playing?
  end
def play_blocking ( uri ) play uri play sleep ( 0.1 ) while is_playing? end
Interrupts the speaker and plays the provided URI.
Interrupts the speaker and plays the provided URI .
# queue up the track # play it # pause the thread until the track is done
uri
<not_specific>