Your Spotify library and game audio balance in one Steam overlay. Play your music, browse playlists and set the mix between game and music without leaving Gaming Mode.
Features · Requirements · Installation · Quick start · Using SpotiDeck · Troubleshooting · How it works · AI disclaimer
SpotiDeck puts a Spotify player in the Quick Access menu. It controls your Spotify account through Spotify's Web API, so it can play on the handheld itself or on any of your Spotify Connect devices. To listen on the handheld it starts a local player only when you ask: Spotify Soloist (recommended) or the Spotify desktop app from Flathub. A Spotify Premium account and your own free Spotify developer app are needed.
| Feature | What you can do |
|---|---|
| Player | Artwork, track position, previous, play/pause and next, shuffle, repeat and save to Liked Songs |
| Library and search | Playlists, Liked Songs, albums, artists, podcasts, recent and top items, up to 12 pinned collections, and search with history |
| Queue and playlists | Add songs to the queue with X, create playlists, and add, remove or move items in playlists you can edit |
| Playback device | Choose the handheld or any of your Spotify Connect devices |
| Volume sliders | Spotify and other audio separately, or one Game / Spotify balance slider while music plays on the handheld |
| Listen on this handheld | Install Soloist from Spotify, or use the Spotify (Flatpak) app; nothing starts until you ask |
| Sleep timer | Pause after 1 to 240 minutes, also while the Quick Access menu is closed |
| About | See the version and download verified updates from GitHub |
Paste from phone brings the Client ID and the Soloist key over from a phone by QR code, so you never type a long key on the handheld.
| Requirement | Details |
|---|---|
| Device | Built for SteamOS handhelds; tested on the Lenovo Legion Go 2 only |
| System | SteamOS in Gaming Mode with Decky Loader (tested on SteamOS 3.9.5 with Decky Loader 3.3.1) |
| Spotify | A Premium account and your own Spotify developer app (its Client ID); see Quick start |
| Player on the handheld | Soloist: your own Soloist key, Linux x86_64 or AArch64. Spotify (Flatpak): com.spotify.Client from Discover, signed in |
| Audio | PipeWire with pw-dump and pw-cli, as in SteamOS |
| Internet | For Spotify; GitHub only when you check for plugin updates |
On the Legion Go 2 these were checked with a real account: sign-in in the handheld's browser, Paste from phone, library, search, queue, playlists you only follow, playback devices, the Soloist player (start, stop, update, and that it stops with the plugin), the balance during a game (also with DeckyEQ on), Decky restarts and CPU use. The Spotify (Flatpak) player was checked starting and stopping, but not yet with a signed-in account; sleep and resume and longer sessions have not been checked yet. Other handhelds have not been tested.
- Install Decky Loader if you do not already have it.
- Download
SpotiDeck-<version>.zipfrom Releases. - In Gaming Mode, open Quick Access Menu → Decky → Settings and turn on Developer mode under General.
- Open Developer, choose Install Plugin from ZIP and select the archive.
- Open SpotiDeck in Decky and follow Quick start.
No terminal commands are needed.
Rayek's store: About → Use Rayek's store sets Decky's store channel to Rayek's store
(https://decky.rayek.workers.dev) after you confirm, so Decky's Store tab lists Rayek's plugins and offers
their updates. Plugins from the official store stay installed, but get no update offers while it is selected;
switch back in Decky Settings → General → Store channel → Default.
- Open More → Settings → About → Check for updates.
- Choose Download <version>; the ZIP appears in your Downloads folder.
- Install it through Decky Settings → Developer → Install Plugin from ZIP.
SpotiDeck never installs anything by itself, and it contacts GitHub only when you press a button. Updating the plugin does not update Soloist: that is Update player (see Listen on this handheld).
How updates are checked
Only stable releases are offered, and only a SpotiDeck-X.Y.Z.zip that a GitHub Actions run in
this repository uploaded to the release. Before the ZIP is saved, SpotiDeck checks its SHA-256
digest, size, contents, plugin name and version. The digest proves the file arrived intact,
not who built it; gh attestation verify SpotiDeck-X.Y.Z.zip --repo Rayekkk/SpotiDeck shows
that GitHub Actions built it from this repository. A failed download never leaves a
half-written ZIP behind.
Updating from 1.x
- Your sign-in, Client ID, Soloist key and player choice are kept.
- Signing in on a phone (Phone QR) is gone. Sign in in the handheld's browser; bring the Client ID and the Soloist key over with Paste from phone.
- Balance now changes only music playing on the handheld. While music plays on another device, the balance slider waits and that device keeps its own volume.
- Plugin updates moved from Settings to Settings → About.
CHANGELOG.md lists everything that changed.
Remove SpotiDeck in Decky Settings → Plugins. Soloist stops and the volume of other apps
returns to normal. Your sign-in and keys stay in ~/homebrew/settings/SpotiDeck, the
downloaded Soloist and its pairing in ~/homebrew/data/SpotiDeck; choose Sign out first
to forget the sign-in, keys and pairing, then delete those folders to remove everything. The
Spotify (Flatpak) app is yours and stays installed.
Open SpotiDeck and choose Connect Spotify. The account page lists four steps:
- Create a Spotify app: open the Spotify developer dashboard, choose Create app and select Web API. If you sign in with another Spotify account than the app's owner, add that account under User Management.
- Add the redirect URI: add exactly
http://127.0.0.1:43891/callbackin the app's settings and save. - Enter the Client ID: type it, or choose Paste from phone.
- Connect: choose Connect to Spotify and sign in on Spotify's own page in the handheld's browser.
No Client Secret is used, and your password is entered only on Spotify's own page.
Paste from phone: scan the QR code with a phone on the same Wi-Fi. The page links to the Spotify dashboard and to the Soloist page for the player key, copies the redirect URI with one tap and takes the Client ID, the Soloist key or both. Choose Send and Settings fills in by itself.
To listen on the handheld:
- In More → Settings → Listen on this handheld, choose Install player from Spotify.
- Get your key with Get a player key (or Spotify's Soloist guide), paste it into Player key and choose Save key, or use Paste from phone.
- Choose Start player on this handheld.
- The first time, open Spotify on your phone on the same network and select SpotiDeck once to pair the player.
From then on, Start player on this handheld on the main page starts the player and selects it; choose a song when you are ready.
| Control | Action |
|---|---|
| A | Select, open a collection or play a song |
| B | Go back one page |
| X | Add the focused song to the queue |
| D-pad | Move between controls; on the track position, 10 seconds per step |
The main page shows the playing song, its position, previous, play/pause and next, and the volume sliders. More holds shuffle, repeat and Save to Liked Songs for the song playing now, with the Queue, your library and Settings. Podcast episodes also get 15-second rewind and forward buttons.
Playlists opens your playlists and Liked Songs; More → Your library has saved albums, artists, podcasts, recent listening, your top songs and artists, and pinned collections. Each item has an options button to save it, pin it (up to 12) or add it to a playlist. A song you choose from a playlist or album plays inside it, so the rest of it plays next.
Spotify shows the songs only of playlists you own or collaborate on. A playlist you only follow opens with Play and Shuffle, a short explanation and, while it plays, Up next from the queue.
Search finds songs, albums, artists, playlists and podcasts, keeps your recent searches and loads more results on request.
X on a song adds it to the queue; More → Queue shows what plays next, and choosing a song there plays it within the album or playlist playing now. You can create playlists and add, remove or move items in playlists you can edit. SpotiDeck checks that the playlist has not changed meanwhile before it edits anything. One copy of a song that is in a playlist twice cannot be removed here; use Spotify for that.
Playback device lists the handheld and your other Spotify Connect devices. Choosing one shows Connecting… until the device confirms; it does not start music by itself.
Choose the mode in More → Settings → Volume sliders.
Separate (default): Music volume sets the volume of the Spotify device playing now; Other audio lowers everything else on the handheld (games, browser, system sounds) without changing their own volume or mute settings.
Balance: one Game / Spotify balance slider. In the centre both play at 100%; moving left lowers only Spotify, moving right lowers only other audio.
| Slider position | Other audio | Spotify |
|---|---|---|
| Fully left | 100% | 0% |
| Halfway to the left | 100% | 50% |
| Centre | 100% | 100% |
| Halfway to the right | 50% | 100% |
| Fully right | 0% | 100% |
Balance works only while Spotify plays on the handheld. While music plays on another device or nothing plays, other audio returns to 100% and the slider waits; SpotiDeck never changes another device's volume in this mode.
Soloist is the default and recommended player: in Legion Go 2 tests it used much less memory and power than the desktop app. Settings shows until when the installed Soloist build is valid (Spotify builds expire after 90 days); 14 days before that, the main page asks you to choose Update player, which stops the player, updates it from Spotify and starts it again.
Spotify (Flatpak) is the full desktop app, for its downloads and settings. Install Spotify from Discover in Desktop mode, sign in with the same account, then choose Spotify (Flatpak) in Listen on this handheld and Start Spotify. Play a song in it once; SpotiDeck links it after it hears the music on the handheld. Switching back to Soloist asks first, because it closes the app.
The player never starts by itself: not after installing, signing in, opening the panel, a console restart or a Decky reload. Once started, music keeps playing when you close the Quick Access menu or start a game.
More → Sleep timer pauses the music after 1 to 240 minutes, also while the Quick Access menu is closed. It ends when you sign out or SpotiDeck stops, and does not survive a restart.
More → Settings → About shows the installed version, author and licence, Rayek's store and the update check described in Updating.
| What you see | What to do |
|---|---|
| "Invalid redirect URI" on Spotify's page | The redirect URI in your Spotify app must be exactly http://127.0.0.1:43891/callback. |
| Sign-in says the account is not allowed | Add that Spotify account under User Management in your Spotify app. |
| Sign-in says Premium is required | Spotify allows playback control only for Premium accounts. |
| Connect to Spotify is unavailable | Read the sentence under it: usually the Client ID from step 3 is missing. |
| The handheld is not in Playback device | Choose Start player on this handheld; the first time, pair it from the Spotify app on your phone. |
| The QR code expired | Choose Paste from phone again for a new code; each code works for 5 minutes. |
| The phone cannot open the QR page | Phone and handheld must be on the same Wi-Fi, and the network must let devices reach each other. |
| "This player build has expired" | Choose Update player. |
| Balance works when Spotify plays on this handheld. | Music plays on another device or nothing plays; start the player on the handheld or choose it in Playback device. |
| Other audio is unavailable on this device. | PipeWire, pw-dump or pw-cli is missing from the session. |
| A playlist shows Play and Shuffle but no songs | Spotify lists songs only for playlists you own or collaborate on; the playlist still plays. |
| Try again counts down | Spotify limits requests for a moment; SpotiDeck tries again when it may. |
| Update check or download failed | Read the error and retry; GitHub may limit requests for a while. |
Signing in from a computer's browser
The redirect URI points to the handheld itself, so sign-in normally happens in its browser. To sign in from a computer instead, forward the callback over a trusted SSH connection and keep it running while you sign in:
ssh -N -o StrictHostKeyChecking=yes -o ExitOnForwardFailure=yes -L 127.0.0.1:43891:127.0.0.1:43891 HANDHELD_USER@HANDHELD_HOSTStart Connect to Spotify on the handheld and open the Spotify address it shows in the computer's browser. Each sign-in attempt expires after five minutes.
Reporting a problem: include the plugin version, SteamOS version, console, the player you use (Soloist or Spotify (Flatpak)), what the panel says, and what you did. CHANGELOG.md lists the changes in each version.
Spotify, the local player and sign-in
The panel talks to SpotiDeck's backend, which uses Spotify's Web API for the library, search and playback commands (OAuth with PKCE, no Client Secret). Soloist is Spotify's own player for devices: SpotiDeck downloads it from Spotify's servers (it is not in the plugin ZIP), starts it on request as a Spotify Connect device, and follows its playback, position and queue over a private local connection. The Spotify (Flatpak) app is controlled through its standard media interface.
The account file (sign-in, Client ID, Soloist key) lives in ~/homebrew/settings/SpotiDeck,
readable only by your user, and is saved atomically with a last good copy. Nothing from it
reaches the logs or the panel. The Soloist key is handed to Soloist on its standard input,
so it does not show in process lists such as ps.
Paste from phone serves a page only on the handheld's private network address, for five
minutes, and closes after one successful send. The page is plain HTTP, so the phone encrypts
what you paste with a one-time key that only the QR code carries (after #, which a browser
never sends).
Other audio and the balance
Other audio lowers the playback streams of other apps through PipeWire. It leaves the system volume, microphones and Spotify's own stream alone, and it skips virtual outputs such as DeckyEQ's, because Spotify plays through them too. New streams are lowered within a fraction of a second while it is active. App volumes are never saved at the lowered level, and when SpotiDeck stops, updates or is turned off, every stream it lowered goes back.
Build, test and package from source
Requires Node.js 24 and Python 3.14 (the version Decky Loader 3.3.1 and SteamOS use).
npm ci
npm run typecheck # frontend types
npm run test:backend # Python backend tests, warnings as errors
npm run test:frontend # panel tests
npm run build # compile and check the frontend
npm run package # artifacts/SpotiDeck-<version>.zip and .sha256npm run check runs all of these in order. Install the ZIP through Decky's Install Plugin
from ZIP. The tests use simulated Spotify, player and audio backends. npm run dev starts a
browser preview of the panel with fictional music; it does not play audio or connect to
Spotify.
- Spotify Web API and Spotify Soloist - account access, playback control and the local player
- PipeWire - the audio graph behind the volume sliders
- Decky Loader and Decky UI - the plugin platform and native controls
- decky-apple-music - the original interaction reference for a service-inspired Decky interface
SpotiDeck is an independent project and is not affiliated with or endorsed by Spotify AB. Component licenses are recorded in NOTICE.
BSD 3-Clause - see LICENSE and NOTICE. The bundled @decky/api is
LGPL-2.1; its license and source ship in the plugin ZIP. Spotify Soloist is downloaded
separately and remains subject to Spotify's terms.
This project was built with substantial help from AI coding assistants. Most of the code, tests and documentation were written by AI agents (first OpenAI Codex, later Anthropic's Claude Code) working under my direction: I defined what each feature should do, made the design and safety decisions, reviewed the results and chose what was released.
The AI was used to:
- write the Python backend, the Spotify Web API, Soloist and PipeWire integration and the Decky panel;
- build the automated test suites (about 640 tests; the backend's run on Linux and Windows for every change);
- audit the code for bugs, security issues and wasted work, with every finding checked by independent review passes and, where possible, reproduced before it was fixed;
- research Spotify's Web API, Soloist and the Spotify Flatpak app, and write this documentation.
Nothing here is untested AI output. I tested the plugin on my Legion Go 2 in Gaming Mode: sign-in and Paste from phone from a real phone, library and playback, A/B/D-pad navigation, the Soloist player across Decky restarts and updates, and the game/Spotify balance by ear during gameplay. Features were held back until they behaved correctly on the real device, and two rules were kept as hard requirements: account tokens and keys stay in private files and never reach logs or the panel, and the player never starts or takes over playback unless you ask.
Even so, this plugin controls your Spotify account and playback and changes the volume of other audio on your console. It is provided as is, without warranty (see License); use it at your own risk.