spot <name>, spot checks your aliases first — if a match exists, the alias value replaces the query before any search happens.
This is particularly useful for working around smart play’s exact-match requirement. spot beatles won’t match “The Beatles”, but an alias will.
Storage
Aliases are stored in~/.config/spot/config.toml under an [aliases] section:
Commands
| Command | Description |
|---|---|
spot alias add <name> <query> | Add or update an alias |
spot alias rm <name> | Remove an alias |
spot alias ls | List all configured aliases |
Adding an alias
Removing an alias
Listing aliases
Using an alias
Once an alias is set, use it like any other play query:Examples
Aliases are resolved before search in both
spot <query> and spot play <query>. The resolved query is passed to Spotify’s API exactly as written in your config, so make sure it matches how Spotify knows the artist, album, or track.Exact matching and aliases
Smart play matches on exact names (case-insensitive). If your query doesn’t match a Spotify name exactly, spot falls through to the top track result, which may not be what you wanted. Aliases are the recommended way to handle this:spot beatles would not find an exact artist match and would instead play the top track result for “beatles”.