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

handler problem #7

Open
tempetum opened this issue Nov 3, 2017 · 0 comments
Open

handler problem #7

tempetum opened this issue Nov 3, 2017 · 0 comments

Comments

@tempetum
Copy link

tempetum commented Nov 3, 2017

Hi

First of all, your node is really great, I can finally send direct orders to my bose Soundtouch.
The only problem I have, is to change the music from spotify. it crashes when i send the parameters.

I got this error:
Selecting to play new music source
/home/pi/SoundTouch-NodeJS/api.js:368
handler(json);
^

TypeError: handler is not a function
at Request._callback (/home/pi/SoundTouch-NodeJS/api.js:368:9)
at Request.self.callback (/home/pi/SoundTouch-NodeJS/node_modules/request/request.js:186:22)
at emitTwo (events.js:87:13)
at Request.emit (events.js:172:7)
at Request. (/home/pi/SoundTouch-NodeJS/node_modules/request/request.js:1163:10)
at emitOne (events.js:77:13)
at Request.emit (events.js:169:7)
at IncomingMessage. (/home/pi/SoundTouch-NodeJS/node_modules/request/request.js:1085:12)
at IncomingMessage.g (events.js:260:16)
at emitNone (events.js:72:20)

My URL sent is

http://10.10.22.52:5006/diningroom/select/SPOTIFY/*****/spotify:track:4TfnvCrnjbXYu8XrjC4yF1

but it crashes all the time. I have a reaction on the Ipad that want to change the song but the node crashes and nothing happen.

Do you have an idea from what it could be ?

Thank you

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

1 participant