Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't connect to iTunes? #41

Open
APPS2CREATE opened this issue Apr 20, 2017 · 2 comments
Open

Can't connect to iTunes? #41

APPS2CREATE opened this issue Apr 20, 2017 · 2 comments

Comments

@APPS2CREATE
Copy link

I've just installed homebridge and wanted to test it with itunes.
So i installed homebridge-itunes and added the platform to the config file.
screen shot 2017-04-20 at 13 04 45

but i'm always getting this error:
screen shot 2017-04-20 at 13 04 32

How can i fix this?

Thx!

@SphtKr
Copy link
Owner

SphtKr commented Apr 22, 2017

Wow, this is one I haven't seen before. Good news/bad news, early research suggests you may have a problem with your macOS installation, believe it or not...but seems there's a pretty safe and easy fix, even if it doesn't sound like it.

Try the troubleshooting steps here: https://discussions.agilebits.com/discussion/64048/the-operation-couldnt-be-completed-osascript-cannot-open-default-scripting-component and if you get the same results, you probably have the same problem and need the same solution.

@badrabbit
Copy link

I'm getting the same errors. Tried everything from your suggestion above but even after a reinstall of macOS Sierra, the errors still remain:
`[2017-6-18 15:31:46] [Homebridge Server] is listening on: http://10.0.1.10:8765
[2017-6-18 15:31:46] Homebridge is running on port 51826.
[2017-6-18 15:31:48] Error: 34:42: execution error: „iTunes“ hat einen Fehler erhalten: „selected of AirPlay device id 11725“ kann nicht gelesen werden. (-1728)

at ChildProcess.<anonymous> (/usr/local/lib/node_modules/homebridge-itunes/node_modules/node-osascript/lib/index.js:39:12)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at maybeClose (internal/child_process.js:891:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)

[2017-6-18 15:31:48] Error: 34:46: execution error: „iTunes“ hat einen Fehler erhalten: „sound volume of AirPlay device id 11725“ kann nicht gelesen werden. (-1728)

at ChildProcess.<anonymous> (/usr/local/lib/node_modules/homebridge-itunes/node_modules/node-osascript/lib/index.js:39:12)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at maybeClose (internal/child_process.js:891:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)

[2017-6-18 15:31:48] Error: 34:42: execution error: „iTunes“ hat einen Fehler erhalten: „selected of AirPlay device id 11722“ kann nicht gelesen werden. (-1728)

at ChildProcess.<anonymous> (/usr/local/lib/node_modules/homebridge-itunes/node_modules/node-osascript/lib/index.js:39:12)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at maybeClose (internal/child_process.js:891:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)

[2017-6-18 15:31:48] Error: 34:46: execution error: „iTunes“ hat einen Fehler erhalten: „sound volume of AirPlay device id 11722“ kann nicht gelesen werden. (-1728)

at ChildProcess.<anonymous> (/usr/local/lib/node_modules/homebridge-itunes/node_modules/node-osascript/lib/index.js:39:12)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at maybeClose (internal/child_process.js:891:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)

[2017-6-18 15:31:49] Error: 34:42: execution error: „iTunes“ hat einen Fehler erhalten: „selected of AirPlay device id 11723“ kann nicht gelesen werden. (-1728)

at ChildProcess.<anonymous> (/usr/local/lib/node_modules/homebridge-itunes/node_modules/node-osascript/lib/index.js:39:12)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at maybeClose (internal/child_process.js:891:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)

[2017-6-18 15:31:49] Error: 34:46: execution error: „iTunes“ hat einen Fehler erhalten: „sound volume of AirPlay device id 11723“ kann nicht gelesen werden. (-1728)

at ChildProcess.<anonymous> (/usr/local/lib/node_modules/homebridge-itunes/node_modules/node-osascript/lib/index.js:39:12)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at maybeClose (internal/child_process.js:891:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)

`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants