Any Player is a desktop music player written in Rust with a Slint UI. It brings your streaming and self-hosted libraries into one place:
- Spotify Connect control: browse and control playback on any of your Spotify devices.
- Local streaming from Jellyfin and Plex servers, decoded and played on this machine.
- Mixed queue: Spotify, Jellyfin and Plex tracks can sit in the same queue.
- Custom playlists:
STANDARD(hand-picked tracks) andUNION(combined from other playlists, deduplicated). - Sync of app state, playlists and settings with other Any Player clients (Android companion).
- Transfer: export and import your state as an
any-player-statefile (optionally encrypted). - Remote AI DJ: scheduled DJ breaks generated by a remote service and mixed between songs.
- Tray icon and OS media controls (MPRIS on Linux, SMTC on Windows, Now Playing on macOS).
All platforms: the stable Rust toolchain (edition 2024, Rust 1.85 or newer).
Install build dependencies (Debian/Ubuntu names):
sudo apt install libasound2-dev libdbus-1-dev libxkbcommon-dev libfontconfig1-dev libfreetype-devA Secret Service keyring (GNOME Keyring, KeePassXC, KWallet with Secret Service enabled) must be running; provider credentials and tokens are stored there.
Xcode command line tools (xcode-select --install). Secrets are stored in the login Keychain.
MSVC build tools (Visual Studio Build Tools with the "Desktop development with C++" workload). Secrets are stored in Windows Credential Manager.
cargo run -p any-player # normal start
cargo run -p any-player -- --demo # fake in-memory data, no network, no keyring
cargo run -p any-player -- --minimized # start hidden in the trayUse --release for an optimized build.
cargo test --workspace
cargo clippy --workspace --all-targets -- -D warnings
cargo fmt --all -- --checkTests are offline and deterministic; see CONTRIBUTING.md.
Installers are built with cargo-packager:
cargo install cargo-packager --locked
cargo packager --release -p any-player --formats deb,appimage # Linux
cargo packager --release -p any-player --formats dmg # macOS
cargo packager --release -p any-player --formats nsis # WindowsOutput goes to target/release/bundle/. The bundle identifier is rocks.nesbitt.any-player.app.
| Path | Responsibility |
|---|---|
crates/ap-model |
Pure domain model, wire formats, signatures. No IO, no async runtime |
crates/ap-store |
SQLite storage and migrations, settings, keyring secrets, platform paths |
crates/ap-providers |
Jellyfin, Plex and Spotify Web API clients, authentication, retry |
crates/ap-library |
Catalog cache, playlist repository, transfer and config import/export |
crates/ap-playback |
Playback engine, local audio backend, Spotify Connect backend, persistence |
crates/ap-sync |
Sync client and engine |
crates/ap-dj |
Remote AI DJ: break scheduling, passages, voice processing |
crates/ap-platform |
Media controls, tray, single instance, OAuth loopback, Spotify launcher |
app |
The any-player binary: Slint UI (app/ui), view models, startup wiring |
fixtures |
Cross-platform golden vectors generated from the Android app |
docs/DESIGN.md |
Full design document |
Version 2 upgrades in place: same bundle identifier, database, cache and keyring locations. On first run it migrates automatically:
- the legacy
playback_state.jsonbecomes the queue and player settings (the file is renamed toplayback_state.json.migrated-v2); - provider credentials in the keyring are read as-is;
- old cache files are deleted and the catalog cache is rebuilt from the network.
Sync settings lived in webview storage and are not migrated: re-enter them once in Settings → General. A new sync client id is generated.
Rollback: v2 only adds tables and columns to the database, which the old app ignores, so reinstalling 0.1.x keeps
your data. Only the queue is lost, unless you rename playback_state.json.migrated-v2 back to
playback_state.json.
- Any Player controls Spotify through Spotify Connect only; it does not decode Spotify audio itself.
- A Spotify client must be running on some device (phone, desktop app, speaker) for Any Player to control.
- Spotify Premium is required for playback control.
- Sign-in uses a loopback redirect: register
http://127.0.0.1:8989/loginas a redirect URI in your Spotify developer app.
Apache License 2.0, see LICENSE.
The UI is built with Slint, used under the Slint Royalty-Free Desktop, Mobile, and Web Applications License. Any Player displays the required "Made with Slint" attribution as described by that license.