Spotify Party Queue

Host a collaborative queue where guests add songs from their phones by scanning a QR code. No Spotify account needed for guests. The host needs Spotify Premium.

Share

Connecting...

Spotify Party Queue: Let Guests Add Songs Without Spotify Accounts

The biggest friction at any party is getting music requests from guests. Normally, everyone needs their own Spotify account, and only one person can control the queue. Our Party Queue tool solves this by letting guests scan a QR code and add songs directly from their phone browser. No Spotify account, no app install, no login required for guests. According to Spotify's 2024 Wrapped data, collaborative listening features drove a 35% increase in group sessions year over year, showing strong demand for shared music experiences.

How It Works

The host logs in with their Spotify account (Premium required for playback control). The tool generates a short session code and a QR code. Guests scan the QR code with their phone camera, enter a nickname, and immediately see a search bar. When a guest searches for a song and clicks add, the request travels through a direct WebRTC connection to the host's browser tab, which then adds the track to the Spotify queue using the host's access token.

The host's browser tab acts as the server for the session. It holds the Spotify access token, processes guest requests, and maintains the live queue preview. The host must keep their tab open for the duration of the party. This is a tradeoff of the serverless architecture: no server costs, no database, no monthly fees, but the host's tab needs to stay active.

WebRTC and PeerJS Connection

Guest devices connect to the host's browser using PeerJS, an open-source WebRTC abstraction layer. PeerJS provides a free public signaling server for connection setup, after which all communication flows directly between the guest's phone and the host's browser. No audio data passes through the connection. Only search queries and track metadata (title, artist, URI) are exchanged.

This architecture means the tool has no backend server, no database, and no recurring hosting costs. The only external dependency is PeerJS's free signaling server for the initial connection handshake, which is open source and can be self-hosted if needed.

Host Controls

The host sees a live queue preview showing what is currently playing and what is coming up next, updated via Spotify's Get User's Queue endpoint. The host can toggle an explicit content filter to block explicit tracks from appearing in guest search results. Per-guest rate limiting caps each connected guest at 3 songs per 10 minutes to prevent one person from flooding the queue.

A session history log shows which guest added each track, using the nickname they entered on join. The host can close the session at any time, which disconnects all guests and clears the session code.

Vote to Skip

Guests can vote to skip the currently playing track. When a configurable threshold of connected guests votes to skip (default is 50% of connected guests), the host's tab automatically calls Spotify's Skip to Next endpoint. This is a fun feature for democratic music selection at parties, and it uses the same WebRTC channel already established for song requests.

Premium Requirement and Authentication

Spotify Premium is required for the host because queue and playback control endpoints (Add Item to Queue, Skip to Next) are restricted to Premium accounts per Spotify's Connect API documentation. This is a Spotify-side restriction, not a limitation of our tool. Free Spotify accounts cannot control playback programmatically.

The host authenticates with the PKCE flow, requesting user-modify-playback-state and user-read-playback-state scopes. The host must have an active playback device (phone, desktop app, or web player) running before starting a session. Guests do not authenticate with Spotify at all. They interact only with the host's browser tab through the WebRTC connection.

Related Tools

After your party, use our Playlist Manager to clean up any playlist you built during the event. The Playlist Builder can turn your party queue history into a permanent playlist. And if you want to see what your group listened to most, the Spotify Stats tool shows your top tracks across different time ranges.

From the Blog

View All