No description
  • JavaScript 87.1%
  • CSS 6.8%
  • HTML 5.2%
  • Dockerfile 0.7%
  • Shell 0.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
fsedarkalex be32b2efb0
All checks were successful
Test / test (push) Successful in 26s
Sonos: recognize opaque YouTube Music ids, clear port error
- 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>
2026-11-22 19:05:41 +01:00
.claude Rebrand the app as PartyPlayer 2026-11-22 18:34:47 +01:00
.forgejo/workflows Read REGISTRY_USER from repository variables 2026-11-22 09:58:44 +01:00
deploy Rebrand the app as PartyPlayer 2026-11-22 18:34:47 +01:00
docs Sonos: recognize opaque YouTube Music ids, clear port error 2026-11-22 19:05:41 +01:00
public Sonos: recognize opaque YouTube Music ids, clear port error 2026-11-22 19:05:41 +01:00
scripts Add mobile-first web frontend, web player page and PWA support 2026-11-22 02:03:02 +01:00
src Sonos: recognize opaque YouTube Music ids, clear port error 2026-11-22 19:05:41 +01:00
test Sonos: recognize opaque YouTube Music ids, clear port error 2026-11-22 19:05:41 +01:00
.dockerignore Add Dockerfile, Portainer stack and Forgejo workflows 2026-11-22 02:04:34 +01:00
.gitignore Scaffold project and add core party playlist model 2026-11-22 01:52:41 +01:00
Dockerfile Rebrand the app as PartyPlayer 2026-11-22 18:34:47 +01:00
LICENSE Add MIT license and vibe-coding disclaimer 2026-11-22 10:03:48 +01:00
package-lock.json Rebrand the app as PartyPlayer 2026-11-22 18:34:47 +01:00
package.json Rebrand the app as PartyPlayer 2026-11-22 18:34:47 +01:00
README.md Sonos: recognize opaque YouTube Music ids, clear port error 2026-11-22 19:05:41 +01:00

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.

License

MIT