SoCo
Snapcast
SoCo | Snapcast | |
---|---|---|
9 | 66 | |
1,456 | 5,748 | |
0.5% | - | |
6.7 | 8.9 | |
2 days ago | 12 days ago | |
Python | C++ | |
MIT License | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
SoCo
-
Which devices can you use the Sonos HTTP API for?
EDIT** Also, saw this SoCo API: https://github.com/SoCo/SoCo
-
Open AirPlay 2 Receiver
Not sure if you mean that, but the Sonos S1 interface has been reverse-engineered, see here:
https://github.com/SoCo/SoCo
https://github.com/jishi/node-sonos-http-api
This allows you to e.g. set the Sonos speakers to play any audio URI.
-
App will not connect unless I enable location (2021)
I gave no idea how to find you, but there are numerous open source sonos clients such as https://github.com/SoCo/SoCo out there that use the sonos API without requiring location services.
- Use Sonos as a siren for home security
-
This has to be a reoccurring question so this is a warning for the redundancy: question about using Remote to control multiple speakers
This is possible to do but requires some programming using Python and the SoCo library https://github.com/SoCo/SoCo
-
Retrieving current playback status from Sonos web interface
SoCo is, to the best of my knowledge, the best supported Python library for controlling Sonos speakers.
- Sonos API access
-
Streaming pipewire/pipewire-pulse desktop audio to a sonos speaker
The sonos ecosystem is pretty locked down, but I found this really neat Python library and this CLI wrapper tool to control it, which is awesome! It makes it super easy to play any audio stream on the speaker, and I already used this for a little script for my dad to play some music that he only has locally as .mp3 files :)
-
Can we automate sub audio level adjustments?
I wrote Python scripts using SoCo https://github.com/SoCo/SoCo
Snapcast
-
Why is Spotify not implementing this?
https://github.com/badaix/snapcast!
Works perfectly on pis scattered around the house.
-
MultiRoom MulitCast Spotify Sound System Recommendations
Snapcast: The cheapest and most modular option is deploying small form factor linux clients (raspberry pis, or any host all) with an audio interface (3.5mm, RCA, or otherwise), and connect the audio output interface to your choice of speaker. Snapcast is the open-source multi-room brains. It works well in my experience, but it is tricky to get setup properly to start with. Spotify Connect support is possible so you can launch your Spotify listening session from the Spotify app. Snapcast also integrates into Home Assistant for ease of adding/removing clients from the active listening sessions (yes, plural. You can have multiple listening sessions from multiple audio input sources at once).
-
Audio options for 3 to 5 zones.
- snapcast - this server/client software will broadcast synchronized audio from any source to any snapcast client. The server and clients can all run on the same computer. Individual clients are assigned to their own usb soundcard. Source and volume for each client is controlled through the webpage and/or homeassistant.
-
I don't want streaming music, I just want to stream my music
I have a music library on my home server that I use mopidy to play via the iris plugin integrated into my home assistant UI. It plays over Snapcast which streams over the network to multiple devices in the home with independent volume control. I can fire up the Snapcast client in my phone to get it going there as well, which does work over vpn if I'm away, though I generally just fire up the files from my phones SD card for out-of-home listening. I recently started using whipper on Linux to extract audio from craigslist cds.
https://mopidy.com/
https://mopidy.com/ext/iris/
https://github.com/badaix/snapcast
https://github.com/whipper-team/whipper
-
Whole home sync'd rpi audio w plex, spotify, airplay
You want SnapCast. You'd run snapserver on your Linux box and snapclient on your Pi's. Snapserver has support for Airplay (via shairport-sync) and Spotify (via librespot). I recommend using MPD for your music library, as I don't think PlexAmp can output audio in a way that's useful for snapserver.
-
Camper Touchscreen Audio Setup
Instead of splitting audio from the jack output you can create a Little network with a router and have more rpi streaming music over It using snapcastsnapcast .
-
Recommendations for Multi-Room Speaker With Multiple Audio Sources?
If you're into the idea of an open-source client/server architecture, then there's Snapcast. If you have a few Raspberry Pis (one per output source) or any other box that can run Linux and has an audio out interface, then this is cheap and easy with an active Home Assistant integration too.
- Question about muti-room audio solutions
-
Whole Home Audio - Design Help
I'm setting up a whole home audio set up and looking for suggestions in the design. Currently, I run Snapcast on Raspberry pis connected to various soundbars or amps. It's working ok, but has issues (Mostly on some of the 2.4GHz WiFi Pis that can't keep up with the bandwidth).
-
Looking for a good music playlist generator
For the multi-room audio, check out snapcast. If you like it, we could try to convince the Symfonium dev to add the ability to cast music directly to snapcast, which I would love to have!
What are some alternatives?
node-sonos-http-api - An HTTP API bridge for Sonos easing automation. Hostable on any node.js capable device, like a raspberry pi or similar.
balena-sound - Build a single or multi-room streamer for an existing audio device using a Raspberry Pi! Supports Bluetooth, Airplay and Spotify Connect
soco-cli - Command Line Interface to Control Sonos Sound Systems
Icecast - Icecast streaming media server (Mirror) - Please report bugs at https://gitlab.xiph.org/xiph/icecast-server/issues
sonos-api-docs - 🔊 📖 Sonos api documentation for the local UPNP api and a generator to generate clients based on service discovery
moOde Audio - moOde sources and configs
airplay2-receiver - AirPlay 2 Receiver - Python implementation
LMS - Lightweight Music Server. Access your self-hosted music using a web interface.
Volumio - Volumio 2 - Audiophile Music Player
owntone-server - Linux/FreeBSD DAAP (iTunes) and MPD media server with support for AirPlay 1 and 2 speakers (multiroom), Apple Remote (and compatibles), Chromecast, Spotify and internet radio.
AzuraCast - A self-hosted web radio management suite, including turnkey installer tools for the full radio software stack and a modern, easy-to-use web app to manage your stations.
sonobus - Source code for SonoBus, a real-time network audio streaming collaboration tool.