nodetunes
nodetunes copied to clipboard
Fix for nodestunes crypto crash; 302.
This solves airsonos issue #302. Using node v6.2.1 and npm 3.9.6.
Thanks, this fixed AirSonos for me 👍
NPM v3.10.3, NodeJS v6.2.2 Mac OS X v10.11.5
Great, solved the problem for me too! Thank you :)
NPM 3.9.3 NodeJS 6.2.1 Mac OS X 10.10.5
This worked great for me too. Thanks!
NPM 3.8.8 NodeJS v6.2.0 Mac OS X v10.11.5
Works for me too, thanks.
works, thanks!
foomac:airsonos doe$ system_profiler SPSoftwareDataType Software:
System Software Overview:
System Version: OS X 10.11.5 (15F34)
Kernel Version: Darwin 15.5.0
Boot Volume: Macintosh HD
Boot Mode: Normal
Computer Name: foomac
Secure Virtual Memory: Enabled
System Integrity Protection: Enabled
foomac:airsonos doe$ node --version v6.2.0 foomac:airsonos doe$ npm --version 3.10.3
works, thanks! node 6.3.0, npm 3.10.3, RaspberryPi 3
Also allowed me to use airsonos. Couldn't be happier. Thanks so much!
This is definitely the fix for the airsonos issue (worked for me at least!) Would be great to see this merged.
This fixed Nodetunes for me (macOS Sierra / iOS 10)
Please Pull!!
Hello everyone I am totally beginner and I try to install airsonos on my mac Sierra 10.12. So I followed your advice .. but when I run youtube or VLC I get the following error: Error: Invalid key length this is from the that I can not understand how you manage to settle the problem. If someone has a little time to help me I would be grateful thank you
Hi, Complete newbie to techie stuff also. Sorry, need a bit of a dummies guide here! How/where am I inputting this fix?
Thanks, Georgie
FYI: The new Sonos beta software version 7 now supports playing directly from Spotify 💥 So if you're here for the AIrSonos fix and you use Spotify you might no longer need this 🎉
I also need help. I installed airsonos using this tutorial: https://hipsterpixel.co/2016/02/02/how-to-airplay-music-and-podcasts-to-your-sonos-speakers-tutorial/
I am not sure how to input this change. I have a Mac and am using Terminal. Do i use npm to install this fix? I am a total noob. Please help. I just need what command I need to put into Terminal to get this working.
Alright - How to install a working version:
First remove everything you've installed already:
npm uninstall -g airsonos
npm uninstall -g nodetunes
Then install the working forks:
npm install -g git://github.com/Kolky/nodetunes.git#master
cd ~
git clone https://github.com/lsmith77/airsonos.git airsonos
cd airsonos
npm install babel
npm install -g
Now everything should be installed so you now can execute that damn thing and hopefully it works:
airsonos
Thank you! I will try this out when I get home. One quick question: Why do I need to install babel? Is it something that airsonos needs to run properly?
Yes somehow it is needed and written down as well in the dependencies.
I just reset my Mac so I was forced to reinstall everything and babel
was one of the missing things.
Hopefully you're able to resolve the problem as well!
Thank you so much! I was able to get it. Terminal gave me an error asking to run the command as root/Administrator. So I looked it up and ran the commands with sudo before it.
Thanks again!
Glad it worked - have fun!
This fixed airsonos for me! Any reason why this hasn't been merged into master yet?
Hello Michael, I followed your explanations but here is the error message that appears when I run airsons. Could you help me ? Thank you in advance ;)
De : Michael Riedel [email protected] Envoyé : lundi 21 novembre 2016 16:32:29 À : stephen/nodetunes Cc : zzamzoum; Comment Objet : Re: [stephen/nodetunes] Fix for nodestunes crypto crash; 302. (#42)
Alright - How to install a working version:
First remove everything you already installed:
npm uninstall -g airsonos npm uninstall -g nodetunes
Then install the working forks:
npm install -g git://github.com/Kolky/nodetunes.git#master npm install babel cd ~ git clone https://github.com/lsmith77/airsonos.git airsonos cd airsonos npm install -g
Now everything should be installed so you now can execute that damn thing and hopefully it works:
airsonos
You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/stephen/nodetunes/pull/42#issuecomment-261970525, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AVxwqrsj2QJMbqeHMeE353spNT021T67ks5rAbmNgaJpZM4I5Quw.
Search complete. Set up 1 device tunnel.
crypto.js:239
this._handle.initiv(cipher, toBuf(key), toBuf(iv));
^
Error: Invalid key length
at Error (native)
at new Decipheriv (crypto.js:239:16)
at Object.Decipheriv (crypto.js:236:12)
at Object.decryptAudioData (/usr/local/lib/node_modules/airsonos/node_modules/nodetunes/lib/helper.js:141:25)
at RtpServer.<anonymous> (/usr/local/lib/node_modules/airsonos/node_modules/nodetunes/lib/rtp.js:32:23)
at emitTwo (events.js:106:13)
at Socket.emit (events.js:191:7)
at UDP.onMessage (dgram.js:550:8)
MacBook-Pro-de-abdelaziz:airsonos abdelazizboudriga$
De : Michael Riedel [email protected] Envoyé : lundi 21 novembre 2016 16:32:29 À : stephen/nodetunes Cc : zzamzoum; Comment Objet : Re: [stephen/nodetunes] Fix for nodestunes crypto crash; 302. (#42)
Alright - How to install a working version:
First remove everything you already installed:
npm uninstall -g airsonos npm uninstall -g nodetunes
Then install the working forks:
npm install -g git://github.com/Kolky/nodetunes.git#master npm install babel cd ~ git clone https://github.com/lsmith77/airsonos.git airsonos cd airsonos npm install -g
Now everything should be installed so you now can execute that damn thing and hopefully it works:
airsonos
You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/stephen/nodetunes/pull/42#issuecomment-261970525, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AVxwqrsj2QJMbqeHMeE353spNT021T67ks5rAbmNgaJpZM4I5Quw.
every thing was ok but when I enter this code : nom Install -g i have this
MacBook-Pro-de-abdelaziz:~ abdelazizboudriga$ sudo npm install -g
npm ERR! addLocal Could not install /Users/abdelazizboudriga
npm ERR! Darwin 16.1.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g"
npm ERR! node v7.2.0
npm ERR! npm v3.10.9
npm ERR! code EISDIR
npm ERR! errno -21
npm ERR! syscall read
npm ERR! eisdir EISDIR: illegal operation on a directory, read
npm ERR! eisdir This is most likely not a problem with npm itself
npm ERR! eisdir and is related to npm not being able to find a package.json in
npm ERR! eisdir a package you are trying to install.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/abdelazizboudriga/npm-debug.log
De : Michael Riedel [email protected] Envoyé : lundi 21 novembre 2016 16:32:29 À : stephen/nodetunes Cc : zzamzoum; Comment Objet : Re: [stephen/nodetunes] Fix for nodestunes crypto crash; 302. (#42)
Alright - How to install a working version:
First remove everything you already installed:
npm uninstall -g airsonos npm uninstall -g nodetunes
Then install the working forks:
npm install -g git://github.com/Kolky/nodetunes.git#master npm install babel cd ~ git clone https://github.com/lsmith77/airsonos.git airsonos cd airsonos npm install -g
Now everything should be installed so you now can execute that damn thing and hopefully it works:
airsonos
You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/stephen/nodetunes/pull/42#issuecomment-261970525, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AVxwqrsj2QJMbqeHMeE353spNT021T67ks5rAbmNgaJpZM4I5Quw.
It looks like you are executing the command in the wrong directory.
Please verify that you are executing it in the airsonos directory. You can verify the directory by issuing
pwd
i verify that but another pb..
MacBook-Pro-de-abdelaziz:airsonos abdelazizboudriga$ pwd
/Users/abdelazizboudriga/airsonos
MacBook-Pro-de-abdelaziz:airsonos abdelazizboudriga$ sudo npm install -g
npm WARN lifecycle [email protected]~prepublish: cannot run in wd %s %s (wd=%s) [email protected] babel ./lib/ -d ./bin/ /Users/abdelazizboudriga/airsonos
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated [email protected]: use serve-favicon module
npm WARN deprecated [email protected]: react-tools is deprecated. For more information, visit https://fb.me/react-tools-deprecated
npm WARN deprecated [email protected]: use uuid module instead
npm ERR! Darwin 16.1.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g"
npm ERR! node v6.9.1
npm ERR! npm v3.10.8
npm ERR! path /usr/local/lib/node_modules/airsonos/bin/index.js
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall chmod
npm ERR! enoent ENOENT: no such file or directory, chmod '/usr/local/lib/node_modules/airsonos/bin/index.js'
npm ERR! enoent ENOENT: no such file or directory, chmod '/usr/local/lib/node_modules/airsonos/bin/index.js'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! Please include the following file with any support request:
npm ERR! /Users/abdelazizboudriga/airsonos/npm-debug.log
MacBook-Pro-de-abdelaziz:airsonos abdelazizboudriga$
De : Michael Riedel [email protected] Envoyé : jeudi 1 décembre 2016 17:01:38 À : stephen/nodetunes Cc : zzamzoum; Comment Objet : Re: [stephen/nodetunes] Fix for nodestunes crypto crash; 302. (#42)
It looks like you are executing the command in the wrong directory.
Please verify that you are executing it in the airsonos directory. You can verify the directory by issuing
pwd
You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/stephen/nodetunes/pull/42#issuecomment-264212971, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AVxwqpyN6URAYNzl_NB2sfRFGgokijYpks5rDu9igaJpZM4I5Quw.
I get the same error
Awesome this is working for me as well. Thank you!
@layzzzee8 and @zzamzoum normally you shouldn't need to use sudo
to install these things.
If you need to, then maybe you could add --unsafe-perm
to the npm install
-calls.
E.g.
sudo npm install -g --unsafe-perm
See this Stack Overflow Topic.
Hopefully this helps.
Worked with the following procedure, as posted by @gismo141 above.
- Remove existing install with:
npm uninstall -g airsono
npm uninstall -g nodetunes
- Install from forks:
npm install -g git://github.com/Kolky/nodetunes.git#master
cd ~
(or whatever WD you want)
git clone https://github.com/lsmith77/airsonos.git airsonos
cd airsonos
npm install -g
Installs airsonos in /usr/local/bin/airsonos (global prefix assumed).
I've been running it with forever
:
npm install -g forever
forever start -a -l forever.log -o airsonos.log -e airsonos_error.log /usr/local/bin/airsonos
System info:
System Version: macOS 10.12.2 (16C68) Kernel Version: Darwin 16.3.0 Boot Mode: Normal Secure Virtual Memory: Enabled System Integrity Protection: Enabled
npm -v 4.0.5
node -v v7.4.0
@stephen Why is this not merged?
@stephen Why is this not merged?