Skip to content

handler problem #7

@tempetum

Description

@tempetum

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions