-
Notifications
You must be signed in to change notification settings - Fork 8
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
Shairport-sync errors when uncommented in snapcast config #3
Comments
Hey, I rebuild the image, perhaps it has been fixed in upstream by now? |
First off @sweisgerber, thank you for putting this together. I just learned about snapcast today and I was up and running in about an hour with your docker image. Thank you for your work on this! I have the same error as described in the issue
After doing some googling I came across this issue badaix/snapcast#672 and I can't find anything in there that doesn't line up with what is in the container. Commands ran on the container
The only other thing I tried was trying to use
I'm not sure if this a configuration issue or an issue with how |
I may have found the issue. I also found this robotastic/trunk-recorder#450 (comment) about trying to run avahi on the host and running the container in privileged mode. I was not able to get the avahi-daemon to run on my local Debian host so was not able to test it. It does seem possible to get avahi running in this container, but I think it would be better if it were configurable so that people that don't want AirPlay don't have to install it. I will continue to play around with building avahi into the container and if I can get it to work will PR some changes. |
I have found the root of the issue, but I'm not sure the best way to fix it. Two things need to be done in the docker file, installing
Once that is done there is currently nothing to start
I would imagine that the sairport-sync apk would handle this automatically, but maybe avahi and dbus are optional for running standalone without snapcast. I will keep messing with and see if I can find a good way to dockerize all of this. |
There's s6-overlay in those images (as they are based on linuxserver.io base images). The service startup scipts are here: |
I uncommented the shairport-sync so I could play with airplay but the following error occurs
docker-snapcast-snapcast-1 | 2024-01-08 15-17-19.892 [Info] (AirplayStream) (shairport[) Warning: the option -u is no longer needed and is deprecated. Debug and statistics output to STDERR is now the default. Use "--log-to-syslog" to revert.
docker-snapcast-snapcast-1 | 2024-01-08 15-17-19.893 [Info] (AirplayStream) (shairport[) fatal error: --get-coverart: unknown option
docker-snapcast-snapcast-1 | 2024-01-08 15-17-19.893 [Error] (ProcessStream) Error while reading from stderr: End of file
docker-snapcast-snapcast-1 | 2024-01-08 15-17-20.015 [Error] (AirplayStream) Error opening metadata pipe, retrying in 500ms. Error: assign: Bad file descriptor [system:9 at /usr/include/boost/asio/detail/impl/reactive_descriptor_service.ipp:120 in function 'assign']
docker-snapcast-snapcast-1 | 2024-01-08 15-17-20.015 [Error] (AsioStream) Error during async wait: Operation canceled
It would seem that there is a metadata pipe issue. From what I have seen either compiling it without the metadata stuff or addressing the metadata pipe seems to be what the suggestions are.
The text was updated successfully, but these errors were encountered: