airsonos
airsonos copied to clipboard
airsonos always crashes on Mac with iTunes
hello, I had airsonos working perfectly until a mac update.
I start airsonos: Searching for Sonos devices on network...
Lounge (@ 192.168.1.2:1400, RINCON_5CAAFD01591801400:0)
Search complete. Set up 1 device tunnel.
And then when I press play on itunes:
now I always get :
crypto.js:232 this._handle.initiv(cipher, toBuf(key), toBuf(iv)); ^
Error: Invalid key length
at Error (native)
at new Decipheriv (crypto.js:232:16)
at Object.Decipheriv (crypto.js:229:12)
at Object.decryptAudioData (/usr/local/lib/node_modules/airsonos/node_modules/nodetunes/lib/helper.js:141:25)
at RtpServer.
it is similar to https://github.com/stephen/airsonos/issues/302 but occurs on my mac
This happens for me as well.
I'm trying to install AirSonos and each time I get to see my speakers and select for airplay, I get disconnected and iTunes reverts back to the internal speakers. I just can't get the AirSonos Airplay to work: Searching for Sonos devices on network...
Office (@ 192.168.100.31:1400, RINCON_949F3E141E5401400:0) Kitchen (@ 192.168.100.22:1400, RINCON_5CAAFD060AAC01400:1)
Search complete. Set up 2 device tunnels. 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.
@Thr44 I'm also on macOS Sierra and this fixed it for me: https://github.com/stephen/nodetunes/pull/42#issuecomment-261970525