Ghost Assembly QuickSpot

GNOME Shell extension

QuickSpot

A Spotify speaker, controlled from your top bar.

Spotify Soloist playback, Liked Songs, and named playlist shortcuts. Set up your speaker in preferences, then control it from the GNOME panel.

  • GNOME Shell 50
  • Spotify Premium
  • GPL-3.0-or-later

Install Source on GitHub

QuickSpot in the top bar · illustrated playback

01

Overview

QuickSpot turns this computer into a Spotify speaker and puts playback controls in the GNOME top bar. It uses Spotify Soloist for audio playback, downloaded separately from Spotify.

The extension, the player service, and the optional playlist library login have separate lifetimes. Disabling the extension leaves the player and its MPRIS media controls running. Pairing the speaker does not connect the playlist library.

A Spotify speaker

Install and manage Soloist from preferences. Pair once through Spotify’s phone or desktop app.

Your music in the panel

Previous, play/pause, next, device activation, shuffle, Liked Songs, and named playlist shortcuts.

02

Install

Requires GNOME Shell 50. Requires GJS, libsecret, libsoup 3, GTK 4, libadwaita, Python 3.12 or newer, a graphical systemd user session, PipeWire or PulseAudio, Spotify Premium, and your own Soloist API key. Official Soloist downloads support x86_64, aarch64, and armv7l Linux.

From a release

Download the latest release ZIP and install it for your user. xh is a download tool; you can also download the ZIP from GitHub in a browser. Installing compiles the settings schema.

Shell
xh --download GET https://github.com/Ghost-Assembly/quickspot/releases/latest/download/quickspot@napalm255.github.io.shell-extension.zip
gnome-extensions install --force quickspot@napalm255.github.io.shell-extension.zip

Log out and back in so GNOME discovers the extension, then enable it:

Shell
gnome-extensions enable quickspot@napalm255.github.io

From a clone

Install mise and activate it in your shell. Clone the repository, install its pinned tools, and build and install the same ZIP used for releases:

Shell
git clone https://github.com/Ghost-Assembly/quickspot.git
cd quickspot
mise install
mise exec -- just setup
mise exec -- just install

Log out and back in, then run just enable. Run just prefs to open preferences. After updating a loaded extension, start a new session to load its new code; opening preferences does not reload GNOME Shell.

03

Uninstall

Disable and uninstall the extension for your user. These commands preserve saved settings and other user data.

Shell
if systemctl --user cat quickspot-soloist.service >/dev/null 2>&1; then
    systemctl --user disable --now quickspot-soloist.service
fi
gnome-extensions disable quickspot@napalm255.github.io
gnome-extensions uninstall quickspot@napalm255.github.io

From a clone, just uninstall performs the same steps. Disabling with just disable leaves the extension installed.

This preserves keyring credentials, player data, the downloaded binary, and the disabled service definition. Disabling the extension alone leaves the independent player service running; stop it from preferences or with systemctl --user stop quickspot-soloist.service.

04

Player setup and pairing

  1. On the Player page, choose Install. Get your own Soloist API key, enter it, and choose Save.
  2. Choose Start and wait for Ready to pair.
  3. Open Spotify’s phone or desktop app on the same local network. Play something and select QuickSpot in its device menu.

The web player cannot discover an unpaired speaker. The device name can be changed in preferences. QuickSpot remembers pairing through Soloist’s stored device identity.

State Meaning
Player not installed Install Soloist before starting.
Player needs setup Choose Repair to restore the service.
API key needed Save a key in GNOME Keyring.
Player stopped The service is available but stopped.
Player running · connection pending The service is running; its local API is not connected yet.
Ready to pair The local API is connected; pair through Spotify.
Paired · ready to play Pairing is complete; this speaker is not the active device.
Connected · this device is active Spotify has selected this speaker. Check audio output separately.

A running service alone does not prove pairing or audible playback. Stop remains available while the player runs, including when GNOME Keyring is locked.

05

Playback controls

Open the top-bar item to use the menu. While a track is available on the active device, its label shows artist and title. Otherwise, only the music icon appears. Playback actions become available when the local speaker is paired.

Control Behavior
Previous / Play or Pause / Next Control playback on the Soloist speaker.
Use this device Activate this speaker in Spotify.
Shuffle → On / Off Activate the speaker and change ordinary shuffle.
Playlist shortcuts Play a saved playlist by its chosen name.
Liked Songs / Your playlists Use the optional connected library account.
Refresh playlists Reload the saved playlist list.
Start / Stop Control the independent player service when setup permits it.
Open Spotify in browser Open the Spotify web player.
QuickSpot settings Open GTK preferences.

Smart Shuffle is displayed when Soloist reports it. Enable that mode in Spotify’s phone app with this speaker selected; About Smart Shuffle… explains the limitation.

06

Playlists and library login

Named playlist shortcuts

On Library → Playlist shortcuts, enter a name and a playlist ID, Spotify link, or URI. These three forms identify the same example playlist:

Playlist input
37i9dQZF1DXcBWIGoYBM5
https://open.spotify.com/playlist/37i9dQZF1DXcBWIGoYBM5
spotify:playlist:37i9dQZF1DXcBWIGoYBM5

Choose Add, then select the name in the panel. Shortcuts work without the optional library login, including Discover Weekly and other playlists Spotify may omit from the library API. Add the same playlist under a new name to rename it; Remove deletes its shortcut. Up to 100 shortcuts can be saved.

Saved playlists and Liked Songs

  1. Create or use a Spotify developer app and register http://127.0.0.1:43821/callback as its redirect URI.
  2. Enter the app’s client ID on the Library page and choose Connect. Finish authorization in the browser while keeping preferences open.
  3. Authorize the same account paired with the speaker. Then use Your playlists or Liked Songs in the panel.

No client secret is needed. Login uses PKCE with playlist-read-private and playlist-read-collaborative. Tokens are bound to the client ID that issued them. Playlist loading follows pagination, refreshes expired tokens, and observes rate limits.

Cancel stops the current login; closing preferences cancels it too. Reconnect authorizes again, and Disconnect removes the saved playlist login without unpairing the speaker.

Development-mode apps require their owner to retain Premium and allow the connecting account. See Spotify’s development-mode requirements for current app and user limits.

07

Preferences

Open preferences with just prefs or QuickSpot settings in the panel.

Setting or action Effect
Install / Repair / Update Download Soloist or restore its user service, according to installation state.
Start at login Enable or disable the systemd user service for login.
Name shown in Spotify Default: QuickSpot. Saving restarts a running player.
Soloist API key Store the key in GNOME Keyring. Saving restarts a running player.
Import credentials Read a selected .env file with a Soloist key and/or library client ID.
Spotify client ID / Connect Authorize the optional playlist library in your browser.
Playlist shortcuts Add, rename, and remove saved playlist choices.

An update attempts to restore a previously running service even if downloading fails or preferences closes. Soloist builds expire after 90 days; use Update to install a newer build. See Spotify’s downloads and updates documentation.

Credential import example

Use literal values in a private .env file. Replace these placeholders with your own values; do not commit the file:

.env (placeholders)
SPOTIFY_SOLOIST_KEY=your-soloist-api-key
SPOTIFY_CLIENT_ID=your-developer-app-client-id

Select it with Import credentials, or import this checkout’s .env:

Shell
just import-credentials

Importing the client ID does not authorize the library. Choose Connect separately. The importer parses values literally rather than executing shell code.

08

Audio quality

Choose quality in Spotify with this speaker selected. Soloist’s command line and local API do not expose quality controls or the active bitrate to QuickSpot. QuickSpot cannot confirm that a stream is lossless.

09

Troubleshooting

Start with the credential-safe diagnostic command:

Shell
just doctor

It checks installation, service state, saved-key presence, local API connectivity, and pairing without printing credentials or account information.

Symptom Next step
Extension not found after installation Log out and back in, then enable QuickSpot.
Player needs setup Choose Repair in preferences.
Player failed to start Check the saved API key, network, and audio output. An expired build needs Update.
Local connection stays pending Restart the player and run doctor again.
Speaker missing in Spotify Use the phone or desktop app on the same network. Check guest Wi-Fi, client isolation, VPN routing, and local-network permission on iOS.
Library login fails Check the exact loopback redirect URI, client ID, developer-app access, and Premium requirements. Keep preferences open.
Playlist missing from library Refresh playlists or add a manual playlist shortcut.
Paired but silent Select this speaker and check the host audio output; pairing alone does not verify audio.

Discovery uses multicast DNS (UDP 5353) and a dynamic TCP pairing port, separate from the loopback API. Review applicable network and firewall rules. See Spotify Connect troubleshooting.

Shell
just logs
just logs-player
systemctl --user stop quickspot-soloist.service
systemctl --user start quickspot-soloist.service

Extension logs and fixed launcher diagnostics omit credentials, account data, and track metadata. Raw Soloist output is silenced because it can contain sensitive information.

10

Storage and security

API keys and OAuth tokens live in GNOME Keyring, outside GSettings, service files, and the extension bundle. Device names and playlist shortcut names and URIs live in GSettings. XDG paths fall back to their standard defaults when unset.

Data Location
Soloist binary and upstream notices $XDG_DATA_HOME/quickspot/
Device identity and pairing $XDG_DATA_HOME/quickspot/player/
Audio cache (limited to 1 GiB) $XDG_CACHE_HOME/quickspot/
User service $XDG_CONFIG_HOME/systemd/user/quickspot-soloist.service

Soloist requires the API key in process arguments; processes with sufficient inspection access can see it. Its WebSocket API binds to 127.0.0.1 on a dynamic port. Upstream provides no authentication or Origin validation, so loopback binding does not isolate it from local processes or browser code able to reach the port.

The installer bounds downloads and extraction, rejects unsafe archive members, restricts redirects to Spotify’s HTTPS download origin, and checks the binary’s version response before replacement. Downloads use mutable upstream URLs without independent signature or checksum verification. Archive validation does not prove authenticity beyond HTTPS.

Soloist is downloaded separately and never included in QuickSpot’s bundle. Preserve its upstream terms and third-party notices.

11

Architecture

QuickSpot uses native GJS ES modules. The GNOME Shell panel, GTK preferences, and service runner execute in separate processes. Shell UI imports stay in the extension; GTK and Adwaita imports stay in preferences.

Component Responsibility
extension.js Top-bar item, menus, playback actions, and lifecycle teardown.
prefs.js GTK/Adwaita setup, credential entry, library login, and shortcuts.
modules/model.js Pure input validation and presentation decisions, shared with Node tests.
modules/player.js Installation, service, credentials, and playback as distinct states.
modules/soloist.js Loopback WebSocket connection and playback commands.
modules/spotify.js Web API requests, PKCE authorization, and client-bound tokens.
modules/secrets.js / credentials.js GNOME Keyring and bounded literal credential import.
modules/mpris.js Desktop media control bridge.
scripts/soloist-runner.js Player process and MPRIS bridge independent of the extension.
scripts/install_soloist.py Bounded download, safe extraction, service setup, and updates.

The panel and service bridge control Soloist through its local API. Library authorization supplies playlist choices and Liked Songs separately. Teardown releases signals, timers, sockets, subprocesses, and UI references; asynchronous completions are guarded against closed windows and replaced clients.

12

Testing

just test runs the JavaScript suite with Vitest, the shared tooling tests, and any project-specific offline suites. just coverage reports runtime JavaScript and Python tooling coverage, including untested files. Test stubs and generated reports are not runtime source.

just test-docs runs Playwright and axe in Chromium and Firefox: dark and light accessibility checks, keyboard navigation, mobile layout, reduced motion, links, metadata, local assets, and no page JavaScript. Automated accessibility checks still require human review of reading and focus order.

just test-live checks the package and runs isolated GNOME lifecycle checks. It is a separate local check, not proof of compatibility from a hosted runner. Verify each declared GNOME version and complete the project's manual checks before releasing.

Project checks

Offline GJS and Python suites use temporary XDG paths and private buses. The isolated Shell and GTK checks cover startup rollback, populated menus across disable/re-enable, preferences, and command-line uninstall. Actual Spotify authorization, audible playback, discovery from another device, and audio quality require a real account and manual verification.

13

Packaging

Shell
just build
just pack-check

The output is quickspot@napalm255.github.io.shell-extension.zip at the repository root, with metadata.json at the archive root. Python's standard library packages the explicit runtimeFiles allowlist in quick-project.json, using stable file order and timestamps.

just pack-check compares both filenames and file contents with GNOME's official packer and validates shipped icons. Docs, tests, dependencies, credentials, downloaded binaries, and development artifacts stay outside the ZIP. Update the runtime allowlist when adding a runtime file.

QuickSpot is GPL-3.0-or-later. Soloist has separate upstream terms and third-party notices and is downloaded outside the extension package.

14

Releasing

Run just ci, just test-live, and the project manual checklist. Set metadata.json version-name and package.json version to the same new version. The GNOME Extensions website assigns the numeric metadata.json version during submission. Update the npm lockfile, regenerate the docs, and commit the reviewed changes to main through a passing pull request.

Create and push a v-prefixed tag for that version. The release workflow verifies the version, main ancestry, and successful required checks for the tagged commit, then attaches its tested ZIP to a GitHub release. It does not upload to extensions.gnome.org; that submission and its review remain manual.

15

Development

mise.toml pins runtime and CLI versions; justfile owns commands; npm owns development dependencies and the lockfile. GNOME libraries come from the host. On image-based Fedora, use the host's available tools or a toolbox/distrobox for missing system packages; do not layer packages onto the OS.

Shell
just setup        # install pinned tools, dependencies, and browsers
just fmt          # format source and configuration
just lint         # verify template, generated docs, source, and schemas
just test         # JavaScript, Python, and project offline tests
just coverage     # report JavaScript and Python coverage without source exclusions
just test-docs    # Chromium and Firefox documentation checks
just security     # dependencies, secrets, and workflow checks
just build        # build the runtime-only extension ZIP
just pack-check   # compare files and contents with GNOME's packer
just ci           # complete local verification and packaging
just test-live    # isolated GNOME lifecycle and project integration checks
just docs         # serve the static site at localhost:8000
just template-check  # verify the pinned canonical template
just template-status # report a newer approved template revision

GitHub requires local verification, security analysis, and completed Sonar analysis. The shared Sonar policy requires zero security, reliability, and maintainability issues and zero duplicated lines. PR checks cover changed code; main checks cover the entire project. Missing configuration fails instead of silently skipping analysis. Pages publishes the tested docs only after the required checks pass on main.

Common tooling and these instructions are generated from a pinned canonical template. Change that source and synchronize its approved revision; do not edit generated sections or locally bless drift. Extension-specific behavior belongs in project configuration and project.just.