justintime / docker-airsonos Goto Github PK
View Code? Open in Web Editor NEWExpose Sonos over Airplay via a Docker container
License: MIT License
Expose Sonos over Airplay via a Docker container
License: MIT License
I'm running this on a Synology NAS, and I've found that when using Host networking mode the container intercepts SSH requests to the host rendering it inaccessible (the host, not the container). I've tried a few different ways to kill it off, but it seems to keep coming back to life. Is it necessary? Anything I can do to disable it completely?
Hello,
Airsonos not working anymore with ios 9 so your build too :(
Could you update your build if eventually airsonos start working with ios 9 ?
Thanks
Running on Ubuntu 14.04, the airsonos process starts.
$ docker logs airsonos
*** Running /etc/my_init.d/00_regen_ssh_host_keys.sh...
No SSH host key available. Generating one...
Creating SSH2 RSA key; this may take some time ...
Creating SSH2 DSA key; this may take some time ...
Creating SSH2 ECDSA key; this may take some time ...
*** Running /etc/my_init.d/10_dbus.sh...
*** Running /etc/rc.local...
*** Booting runit daemon...
*** Runit started as PID 78
Searching for Sonos devices on network...
Setting up AirSonos for Basement {192.168.1.12:1400}
Setting up AirSonos for Bedroom {192.168.1.15:1400}
Setting up AirSonos for Deck {192.168.1.10:1400}
Setting up AirSonos for Kitchen {192.168.1.13:1400}
Setting up AirSonos for Living Room {192.168.1.7:1400}
Setting up AirSonos for Office {192.168.1.5:1400}
ps shows the node process up:
$ ps -ef |grep airsonos
root 24280 24278 0 21:27 ? 00:00:00 runsv airsonos
99 24286 24280 0 21:27 ? 00:00:00 node /usr/bin/airsonos
But they don't show up on my OSX or iOS device lists.
If I exec into the container and run airsonos there, they do show up in my device lists.
$ docker exec -ti airsonos bash
root@mastershake:/# airsonos
*** WARNING *** The program 'nodejs' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=nodejs>
*** WARNING *** The program 'nodejs' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=nodejs&f=DNSServiceRegister>
Searching for Sonos devices on network...
Setting up AirSonos for Bedroom {192.168.1.15:1400}
Setting up AirSonos for Deck {192.168.1.10:1400}
Setting up AirSonos for Kitchen {192.168.1.13:1400}
Setting up AirSonos for Basement {192.168.1.12:1400}
Setting up AirSonos for Living Room {192.168.1.7:1400}
Setting up AirSonos for Office {192.168.1.5:1400}
And ps shows node running twice. So the first one is hung?
$ ps -ef |grep airsonos
root 24280 24278 0 21:27 ? 00:00:00 runsv airsonos
99 24286 24280 0 21:27 ? 00:00:00 node /usr/bin/airsonos
troy 28595 16731 0 21:37 pts/0 00:00:00 docker exec -ti airsonos bash
root 28636 28600 0 21:37 pts/1 00:00:00 node /usr/bin/airsonos
Hi, I did start the container using the --net="host", and opened ports 5000-5050 as you recommend on the readme page, yet my container seems stuck at "Searching for Sonos devices on network", according to "docker logs airsonos". Any suggestions how I can debug? (Oh, and my docker server and sonos devices are on the same subnet).
thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.