lib/sonos/endpoint/device.rb
# Create a stereo pair of two speakers.
# This does not take into account which type of players support bonding.
# Currently only S1/S3 (play:1/play:3) support this but future players may
# gain this abbility too. The speaker on which this method is called is
# assumed to be the left speaker of the pair.
# @param right [Sonos::Device::Speaker] Right speaker
Create a stereo pair of two speakers.
This does not take into account which type of players support bonding.
Currently only S1/S3 (play:1/play:3) support this but future players may
gain this abbility too. The speaker on which this method is called is
assumed to be the left speaker of the pair.
Create a stereo pair of two speakers . This does not take into account which type of players support bonding . Currently only S1 / S3 ( play : 1 / play : 3 ) support this but future players may gain this abbility too . The speaker on which this method is called is assumed to be the left speaker of the pair .
def create_pair_with(right)
    left = self.uid.sub!('uuid:', '')
    right = right.uid.sub!('uuid:', '')
    parse_response = send_bonding_message('AddBondedZones', "#{left}:LF,LF;#{right}:RF,RF")
  end
def create_pair_with ( right ) left = self . uid . sub! ( 'uuid:' , '' ) right = right . uid . sub! ( 'uuid:' , '' ) parse_response = send_bonding_message ( 'AddBondedZones' , "#{left}:LF,LF;#{right}:RF,RF" ) end
Create a stereo pair of two speakers.
Create a stereo pair of two speakers .
right
None