🎧 Spots
Spots is a modular music coordination library that unifies multiple providers (e.g. Deezer, Spotify, YouTube) into a single, consistent interface.
It resolves tracks across platforms, matches metadata intelligently, and enables downloading, playlist handling, and media conversion — all through a clean, configurable API.
✨ Features
-
🔍 Multi-provider search
- Supports multiple metadata providers with fallback resolution
-
🧠 Intelligent track matching
- Matches tracks across platforms using pattern-based scoring
-
🎵 Unified media resolution
- Seamlessly map metadata → YouTube → downloadable media
-
⚡ Provider fallback system
- Automatically falls back when a provider fails
-
🗂️ Built-in caching
- Reduces redundant API calls and speeds up repeated queries
-
⚙️ Config-driven architecture
- Enable/disable integrations (Spotify, YouTube, etc.)
-
📦 Download + conversion pipeline
- Handles media extraction and conversion (via yt-dlp)
📦 Installation
pip install spots-cli
⚙️ Setup
Run the setup script:
spots_cli setup
- follow the prompts to generate the config folder
YouTube account features (optional)
Migrating likes uses your own Google credentials. In Google Cloud Console, enable the YouTube Data API v3, create an OAuth client ID of type Desktop app, and save its JSON as client_secrets.json in the Spots config folder:
- Linux:
~/.config/spots_cli/ - macOS:
~/Library/Application Support/spots_cli/ - Windows:
%APPDATA%\spots_cli\
Then answer "y" to the YouTube question in spots_cli setup. You'll sign in to YouTube in your browser the first time.
🚀 Usage
# search a title
# required search format: `Artist - Title`
spots_cli download "Kelsey Lynn - Modern Day Marilyn Monroe"
# download a direct url
spots_cli download "https://www.youtube.com/watch?v=UmZPa5Qudtw"
Spots will:
- Resolve the track via metadata providers
- Match it to a YouTube video
- Download and convert it
- Store results locally
🎮 Available commands
- download - downloads a direct url or a search query
spots_cli download "Kelsey Lynn - Modern Day Marilyn Monroe"
- download-video - downloads a YouTube video (a url, or search terms) as mp4. Picks the highest resolution unless you pass
--resolutionspots_cli download-video "https://www.youtube.com/watch?v=UmZPa5Qudtw" --resolution 720p
- migrate-likes - transfers likes from Spotify to YouTube (more providers coming soon...)
spots_cli migrate-likes - add-to-history - adds a user's downloaded songs to the Spots history. Avoids duplicate downloads.
spots_cli add-to-history path-to-music
- remove-duplicates - removes duplicate songs in a given folder.
spots_cli remove-duplicates path-to-music
⚠️ Important
The Spotify API content may not be downloaded using this project. This project is created for personal use only and is intended for educational purposes. Any use of this project to download or distribute copyrighted material without proper authorization is against the terms of service of Spotify and other involved platforms. The project's author and contributors are not responsible for any misuse of this software.
🤝 Contributing
Contributions are welcome.
If you're adding a provider or improving matching logic, open a PR with a clear description of changes.
📄 License
GPL-3.0-or-later
💬 Summary
Spots is designed to make cross-platform music workflows simple:
Give it a track — it figures out the rest.
Metadata
Release files for spots_cli 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| spots_cli-0.2.1.tar.gz | 60.8 kB | Without provenance | Details for spots_cli-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| spots_cli-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for spots_cli-0.2.1-py3-none-any.whl |
Total release size: 138.3 kB
Release files / spots_cli-0.2.1.tar.gz
| Download URL | spots_cli-0.2.1.tar.gz |
|---|---|
| Size | 60.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8a4a6b001fba8a51405daa6599a2f4b976c6c0ef1fe1fcaab9a98310e4b523d3
|
|
BLAKE2b-256 checksum How to use checksums |
051c9ba11eb99edc82c17397be77a6265e76c174904d46f562a23fd01f52d763
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / spots_cli-0.2.1-py3-none-any.whl
| Download URL | spots_cli-0.2.1-py3-none-any.whl |
|---|---|
| Size | 77.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d7e3af1c2af12ede68f9325484891f2561810ddc8aab8f835afe06c99610d3a0
|
|
BLAKE2b-256 checksum How to use checksums |
2173d234ce6d041b66d3a5ff97cd5cfc216b3f73aafbb0b62bbbbfceb145ffb1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for spots_cli 0.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.