Giter VIP home page Giter VIP logo

Comments (6)

smoob32 avatar smoob32 commented on June 14, 2024

screen shot 2014-08-20 at 19 10 38

from airsonos.

stephen avatar stephen commented on June 14, 2024

Hi @smoob32, could you paste the output of airsonos --diagnostics? It seems like the https://github.com/bencevans/node-sonos package is detecting your devices multiple times.

In your system audio devices, does it also show up multiple times?

from airsonos.

stephen avatar stephen commented on June 14, 2024

@smoob32 - if you can still reproduce this, do both "devices" that show up work? or is it only one out of the two that works?

from airsonos.

stephen avatar stephen commented on June 14, 2024

(Closing for now, unless we can repro and this is causing some harm)

from airsonos.

Mange avatar Mange commented on June 14, 2024

I have this problem too, but when I run with --diagnostics they only show up once.

A summary of the data:

› airsonos --diagnostics | grep "^Device"
Device  {"host":"192.168.33.180","port":1400,"state":{}} (ZPS5)
Device  {"host":"192.168.33.134","port":1400,"state":{}} (ZPS5)
Device  {"host":"192.168.33.172","port":1400,"state":{}} (ZP120)
Device  {"host":"192.168.33.59","port":1400,"state":{}} (ZPS5)
Device  {"host":"192.168.33.178","port":1400,"state":{}} (ZPS5)
Device  {"host":"192.168.33.53","port":1400,"state":{}} (ZPS5)
Device  {"host":"192.168.33.149","port":1400,"state":{}} (ZP90)
Device  {"host":"192.168.33.160","port":1400,"state":{}} (ZPS5)

What should I do to help debug this issue?

airplay

EDIT: I should add the output when running like normal:

› airsonos
Searching for Sonos devices on network...
Setting up AirSonos for Plattformsrummet {192.168.33.160:1400}
Setting up AirSonos for Loungen {192.168.33.149:1400}
Setting up AirSonos for Always Be Closin {192.168.33.134:1400}
Setting up AirSonos for Lilla Köket {192.168.33.172:1400}
Setting up AirSonos for Hjärnkontoret {192.168.33.180:1400}
Setting up AirSonos for Korvis {192.168.33.53:1400}
Setting up AirSonos for Gubbrummet {192.168.33.59:1400}
Setting up AirSonos for Plattformsrummet {192.168.33.160:1400}
Setting up AirSonos for Always Be Closin {192.168.33.134:1400}
Setting up AirSonos for Korvis {192.168.33.53:1400}
Setting up AirSonos for Loungen {192.168.33.149:1400}
Setting up AirSonos for Hjärnkontoret {192.168.33.180:1400}
Setting up AirSonos for Gubbrummet {192.168.33.59:1400}
Setting up AirSonos for Lilla Köket {192.168.33.172:1400}
Setting up AirSonos for Plattformsrummet {192.168.33.160:1400}
Setting up AirSonos for Always Be Closin {192.168.33.134:1400}
Setting up AirSonos for Lilla Köket {192.168.33.172:1400}
Setting up AirSonos for Hjärnkontoret {192.168.33.180:1400}
Setting up AirSonos for Gubbrummet {192.168.33.59:1400}
Setting up AirSonos for Always Be Closin {192.168.33.134:1400}
Setting up AirSonos for Lilla Köket {192.168.33.172:1400}
Setting up AirSonos for Hjärnkontoret {192.168.33.180:1400}
Setting up AirSonos for Gubbrummet {192.168.33.59:1400}
Setting up AirSonos for Plattformsrummet {192.168.33.160:1400}
Setting up AirSonos for Hjärnkontoret {192.168.33.180:1400}
Setting up AirSonos for Always Be Closin {192.168.33.134:1400}
Setting up AirSonos for Loungen {192.168.33.149:1400}
Setting up AirSonos for Gubbrummet {192.168.33.59:1400}
Setting up AirSonos for Plattformsrummet {192.168.33.160:1400}
Setting up AirSonos for Lilla Köket {192.168.33.172:1400}
Setting up AirSonos for Loungen {192.168.33.149:1400}
Setting up AirSonos for Korvis {192.168.33.53:1400}
Setting up AirSonos for Korvis {192.168.33.53:1400}
Setting up AirSonos for Loungen {192.168.33.149:1400}
Setting up AirSonos for Korvis {192.168.33.53:1400}
Setting up AirSonos for Gubbrummet {192.168.33.59:1400}
Setting up AirSonos for Hjärnkontoret {192.168.33.180:1400}
Setting up AirSonos for Korvis {192.168.33.53:1400}
Setting up AirSonos for Lilla Köket {192.168.33.172:1400}
Setting up AirSonos for Always Be Closin {192.168.33.134:1400}
Setting up AirSonos for Loungen {192.168.33.149:1400}
Setting up AirSonos for Plattformsrummet {192.168.33.160:1400}
Setting up AirSonos for Gubbrummet {192.168.33.59:1400}
Setting up AirSonos for Lilla Köket {192.168.33.172:1400}
Setting up AirSonos for Hjärnkontoret {192.168.33.180:1400}
Setting up AirSonos for Loungen {192.168.33.149:1400}
Setting up AirSonos for Always Be Closin {192.168.33.134:1400}
Setting up AirSonos for Korvis {192.168.33.53:1400}
Setting up AirSonos for Plattformsrummet {192.168.33.160:1400}

from airsonos.

Mange avatar Mange commented on June 14, 2024

Seems like this could be the problem. In diagnostics.js:12 you are using sonos.search:

sonos.search(function(device, model) {

But in main.js:29-30 you are calling sonos.LogicalDevices:

  sonos.LogicalDevice.search(function(err, devices) {
    devices.forEach(function(device) {

from airsonos.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.