Comments (17)
I can confirm, I'm having the same issue. I really like the idea of Airsonos, I'd love to help, but I'm not much of a node developer. I can provide any debug info you need though š
from airsonos.
It's unfortunately fairly difficult with the current codebase for me to debug these types of issues without access to the network. Currently, there's not a lot of testing/verbosity in the code so it's hard to tell what's failing in a given scenario. Hopefully, as I continue to refactor hacked-together parts, I can get a better idea of what's wrong.
For some clarity - The problem could be with either the AirPlay side of things (having OS X/iOS talk to the server, which is handled by nodetunes), or with the Sonos side of things (having the server talk mp3stream to the device, which is handled by nicercast and node-sonos).
Would love any help you guys can provide on fixing these issues.
from airsonos.
I tested it again, still gives a few errors but works for now.
The error I got was, strange error while flushing cache.
With all the errors I was on a wired connection. Now working with wireless, and it works!! Still got a few errors but no big deal.
This is a great tool!!!
Ps. I just installed the version from git today, so that might also the solution of the problem.
from airsonos.
Interesting - is the strange error while flushing cache..
the only error shown? Are there still starts/stops with the audio?
strange error while flushing cache..
is emitted by node-lame, though I'm not sure of the cause at the moment.
from airsonos.
Yes only error.
from airsonos.
I traced this down to a leading carriage return in the setup RTSP request.
When I patch rtsp.js to remove this I'm able to get the stream to play.
Hope this helps!
"
SETUP rtsp://192.168.1.27/4932615128151379837 RTSP/1.0
Transport: RTP/AVP/UDP;unicast;mode=record;timing_port=52230;x-events;control_port=55038
CSeq: 3
X-Apple-Device-ID: 0x4db5642d294
DACP-ID: <snip>
Active-Remote: <snip>
User-Agent: AirPlay/200.54
"
from airsonos.
@danburke Do you mind submitting an issue + patch on https://github.com/stephen/nodetunes so I can take a look?
(nodetunes is the library that handles the rtsp functionality)
Thanks for your help!
from airsonos.
Sure !
from airsonos.
@teejteej, @danburke - do you have consistent repro steps for that SETUP
issue? Am trying to track it down, but can't figure out the conditions to make it happen consistently..
from airsonos.
Not really, it just happens consistently every time as soon as I choose a Sonos as output device. I haven't managed to get things working yet.
from airsonos.
What device are trying to AirPlay from? How strong is the network connection?
I've seen it happen on my end before, but not immediately after startup.
from airsonos.
MBA 11", Mid 2012. The connection is perfect, Iām practically sitting next
to the router, as well as the Sonos players.
On Fri, Apr 25, 2014 at 9:03 AM, Stephen Wan [email protected]:
What device are trying to AirPlay from? How strong is the network
connection?I've seen it happen on my end before, but not immediately after startup.
ā
Reply to this email directly or view it on GitHubhttps://github.com//issues/2#issuecomment-41364246
.
from airsonos.
Gotcha. Unfortunately, I'm not able to repro this problem consistently with my setup (MBP, 1 x Play:3), so will have to for some more clarity on how to make this happen..
from airsonos.
Hi, I can reproduce this error.
It crashes immediatly when trying to play something over the the airplay device on my Macbook Pro.
I have airsonos 0.0.12 running on a raspberry pi with debian wheezy. My Sonos device is a play:1 connected via ethernet.
from airsonos.
Hey @RobertBiehl, AirSonos support on RPI is a different issue with lame encoder performance. (see stephen/nicercast#2).
A possible workaround is to compile the shine encoder, and replace the lame bindings with shine, but currently not officially supported.
from airsonos.
Does this also fix this error?
TypeError: Property '
SETUP' of object # is not a function
Thanks for the info! I'll try to add trim on the command and see if I need to switch to shineenc.
from airsonos.
'SETUP' of object #<Object> is not a function
bug is solved as of version 0.0.15
.
from airsonos.
Related Issues (20)
- Multi-speaker sound sync HOT 1
- airsonos crashes after selecting a device in sound preferences HOT 5
- AirSonos + High Sierra HOT 40
- AirSonos not showing on High Sierra HOT 2
- Install issues running Sierra 10.12.6 HOT 1
- Error when running El Capitan 10.11.6 sonos v8.0 HOT 4
- Installation failed with newest node version HOT 6
- Stuck on setting up sonos (windows 10 lastest release) HOT 3
- After running 'airsonos' I can find my sonos but it isn't showing up in the Mac Os High Sierra audio output list HOT 4
- Sonos speakers not showing on iPhone with Airsonos on windows HOT 8
- Can I get the buffering duration of Sonos via Sonos API functions?
- Every restart duplicate speakers appear
- How to uninstall AirSonos? HOT 1
- Hanging on discovery HOT 1
- Feature request: AirPlay 2 compatibility for older Sonos products Play 1 HOT 5
- AirSonos on Ubuntu 16.04.2 LTS Xenial
- Installed but failing on startup - RPi 3 HOT 30
- Error HOT 2
- is this project dead? HOT 2
- Sonos
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
š Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ššš
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ā¤ļø Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from airsonos.