-
Notifications
You must be signed in to change notification settings - Fork 252
Fix: Speakers appear multiple times #114 #134
Conversation
This closes #114 |
This fix removed the duplicate entry problem for me on OSX 10.10.2 and node 0.12.1. |
Kudos to this fix. It removed my duped devices. |
How do I install this update? |
I've not been able to get this change to resolve my doubled devices. I'm a bit new to node/npm, so I could be doing something wrong. I had first installed airsonos from npm, but after finding this issue, I downloaded the source and ran npm install -g in the source directory. I then made the changes to the main.js (leaving that commented section commented) and then re-ran the npm install -g in the source directory. It still shows my livingroom and bedroom play1's twice. I tried removing the airsonos (running npm remove airsonos -g) and then re-built the source, and it still shows them twice (after restarting avahi). Should this PR make the software only print each once in its output... because I get that twice:
|
Fix for this issue should be in node-sonos, referencing stephen/node-sonos#1 here. |
@lirenzhu your fix works for me. |
Merged stephen/node-sonos#1 - reinstallation should solve this - thanks @lirenzhu! |
Added functionality that keeps tracks of Sonos devices that already been created AirPlay servers for. Skip creating a new AirPlay server when a discovered Sonos device is a duplicate