- JavaScript 87.1%
- CSS 6.8%
- HTML 5.2%
- Dockerfile 0.7%
- Shell 0.2%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
All checks were successful
Test / test (push) Successful in 26s
- Current Sonos systems address YouTube Music tracks with opaque service ids (x-sonosapi-hls-static:ALkSOi...) that cannot be derived from video ids; detection no longer derives a bogus template from them, the driver stops sending tracks and the admin area shows a notice - An occupied HTTP port is reported in one line instead of a stack trace, and speakers are only taken over once the server listens Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
| .claude | ||
| .forgejo/workflows | ||
| deploy | ||
| docs | ||
| public | ||
| scripts | ||
| src | ||
| test | ||
| .dockerignore | ||
| .gitignore | ||
| Dockerfile | ||
| LICENSE | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
PartyPlayer 🎉
Warning
This project is vibe-coded. It was largely generated with an AI coding assistant and has only been reviewed and tested to a limited extent. It may contain bugs or security issues. Use at your own risk – see the license (no warranty, no liability).
A collaborative party playlist: guests search for songs on YouTube Music and add them to the running playlist from their phones. Playback runs on Sonos (local UPnP API) or in a web player in the browser (e.g. on a smart TV).
- Guests just enter a name – no account needed
- Browse YouTube Music like in its app (home, new releases, charts, moods & genres, artists, albums)
- Search on YouTube Music, optionally connect your own YouTube Music account (playlists & liked songs)
- "Add to end" or "Play next" (with a per-guest cooldown)
- Votes to skip or remove tracks; admins act directly
- Admins reorder via drag & drop and configure all thresholds
- Autoplay with related tracks when the playlist runs empty
- Installable as an app (PWA) on Android and iOS; tablet layout with the playlist pinned on the right
- Multilingual (English/German, language taken from the browser, English as fallback)
- Docker container that runs behind a reverse proxy
Documentation
Quick start
docker run -d --name partyplayer -p 3000:3000 -v sonos-party-data:/data \
forge.firesplash-entertainment.com/opensource_tools/sonos-party:latest
For automatic Sonos speaker discovery use the host network variant
deploy/docker-compose.host.yml (Portainer stack); the container only
listens on the web UI port, see ports.
Then open http://<server>:3000. Whoever opens the app first sets their name and the admin password
(or preset it with ADMIN_PASSWORD).
Status
Prototype. Sonos playback of party tracks does not work yet: current Sonos systems only accept YouTube Music tracks with opaque service ids that cannot be derived from YouTube video ids, see Sonos notes. The web player works.
Trademarks and affiliation
This project is an independent community project. It is not affiliated with, endorsed by or sponsored by Sonos, Inc., Google LLC or YouTube.
Sonos is a trademark of Sonos, Inc. Google, YouTube and YouTube Music are trademarks of Google LLC. All other trademarks belong to their respective owners. These names are used solely to identify the products and services this software works with; no claim to them is made.