-
Notifications
You must be signed in to change notification settings - Fork 255
Unable to set airsonos on iTunes 12.2 running OS X Yosemite 10.10.4 #188
Comments
c) I tried running the same command again and this time it seems to work (it shows only warning messages). MacBook-Air-2010:Downloads mlim$ sudo npm install airsonos -g
gyp WARN EACCES user "root" does not have permission to access the dev dir "/Users/mlim/.node-gyp/0.12.6" xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance CXX(target) Release/obj.target/dns_sd_bindings/src/dns_sd.o
gyp WARN EACCES user "root" does not have permission to access the dev dir "/Users/mlim/.node-gyp/0.12.6" xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance deps/mpg123/test.target.mk:148: warning: overriding commands for target |
d) I ran "airsonos" command. MacBook-Air-2010:Downloads mlim$ airsonos Note: I leave the Terminal session opened. e) Opened System Preferences and go to Sound, set the Output to "Office (AirSonos) AirPlay". f) On iTunes, when I tried to set the airplay output to "Office (AirSonos)", I got an error message saying "The AirPlay device “Office (AirSonos)” is not compatible with this version of iTunes.". I tried closing iTunes and relaunched, this time it shows a different error message: |
MacBook-Air-2010:Downloads mlim$ airsonos --verbose --diagnostics Searching for Sonos devices on network... Device {"host":"192.168.123.112","port":1400,"state":{}} (ZPS1) Device {"host":"192.168.123.109","port":1400,"state":{}} (ZPS1) |
Did I do anything wrong? Please advise how to make AirSonos work on OS X Yosemite 10.10.4 and iTunes 12.2. Thanks. |
I had a similar problem running the latest version of node. Downgrading node to v0.10.33 fixed the problem for me. |
If you've selected the Airplay output in preferences, you shouldn't need to reselect it in iTunes. Did you try selecting the output in preferences and then just playing music out of iTunes? |
same problem here. even when i try to select the output device in mac osx and not in tunes it gives out an error "could not connect with xxx" . if i try to put output in itunes it says error -15000 codec problems. guess its because of either mac osx or itunes update. |
This was what I did previously. Opened System Preferences and go to Sound, set the Output to "Office (AirSonos) AirPlay". When I go to iTunes and tried to play a song, there's no sound (because the sound output got switched to my Apple TV). So I tried manually set it to airsonos in iTunes, then I got this error: An error occurred while connecting to the AirPlay device “Office (AirSonos)”. An unknown error occurred (-15000). I'll try chadyl's suggestion tomorrow night - downgrade node to v0.10.33. Thanks to those who replied. |
I've verified that airsonos is working after downgrading node to v0.10.33. I can play my iTunes music and movies using my Sonos speakers. As many people have mentioned, there is lip sync issue when watching movies. Thanks to chadyl for the tip. |
Below is what I did:
a) Prior to running the command "sudo npm install airsonos -g", I downloaded and installed node-v0.12.6.pkg. I verified if it is installed properly.
MacBook-Air-2010:Downloads mlim$ which node
/usr/local/bin/node
MacBook-Air-2010:Downloads mlim$ echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
MacBook-Air-2010:Downloads mlim$ node -v
v0.12.6
MacBook-Air-2010:Downloads mlim$ node
console.log('hello node');
hello node
undefined
(^C again to quit)
MacBook-Air-2010:Downloads mlim$
b) Now I run the "sudo npm install airsonos -g" command and got some errors:
MacBook-Air-2010:Downloads mlim$ sudo npm install airsonos -g
Password:
npm ERR! git clone --template=/Users/mlim/.npm/_git-remotes/_templates --mirror git://github.com/stephen/node-sonos.git /Users/mlim/.npm/_git-remotes/git-garden.eu.org-stephen-node-sonos-git-701294ef: xcode-select: note: no developer tools were found at '/Applications/Xcode.app', requesting install. Choose an option in the dialog to download the command line developer tools.
npm ERR! Darwin 14.4.0
npm ERR! argv "node" "/usr/local/bin/npm" "install" "airsonos" "-g"
npm ERR! node v0.12.6
npm ERR! npm v2.11.2
npm ERR! code 1
npm ERR! Command failed: git clone --template=/Users/mlim/.npm/_git-remotes/_templates --mirror git://github.com/stephen/node-sonos.git /Users/mlim/.npm/_git-remotes/git-garden.eu.org-stephen-node-sonos-git-701294ef
npm ERR! xcode-select: note: no developer tools were found at '/Applications/Xcode.app', requesting install. Choose an option in the dialog to download the command line developer tools.
npm ERR!
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! https://github.com/npm/npm/issues
npm ERR! Please include the following file with any support request:
npm ERR! /Users/mlim/Downloads/npm-debug.log
Note: At this point, it opened a window and it seems to be installing something. Then when I tried to run the "airsonos" command, it errors out.
MacBook-Air-2010:Downloads mlim$ airsonos
-bash: airsonos: command not found
The text was updated successfully, but these errors were encountered: