rahims/SoCo — pull request #2 by nixscripter (2012-12-20 23:30:31+00:00)
Title: Bug Fix: handling multiple systems on the same network

A simple test script reveals that, if there are two speakers on the network, and this script is written:

sp1 = soco.SoCo('10.0.0.1)
sp2 = soco.SoCo('10.0.0.2')
info1 = sp1.get_speaker_info()
info2 = sp2.get_speaker_info()
print "First speaker:",info1
print "Second Speaker:",info2

The information comes out with the 2nd one repeated twice. The information is read from the network correctly. Rather, it seems a static definition of the speaker_info variable is to blame.