fix: ditch search completely

This commit is contained in:
Xoconoch
2025-08-28 06:52:04 -06:00
parent 573098ca6e
commit c0cc9a6b6f
3 changed files with 0 additions and 197 deletions

View File

@@ -189,23 +189,6 @@ playlist_expanded = client.get_playlist("spotify:playlist:...", expand_items=Tru
```
### search(query, limit=10, country=None, locale=None, catalogue=None, image_size=None) -> dict
Performs a full-featured search using librespot's SearchManager.
- Country precedence: explicit `country` > session country code > unset
- Returns librespot's JSON-like mapping (tracks, albums, artists, playlists, etc.)
Usage:
```python
res = client.search(
"artist:daft punk track:one more time",
limit=10,
country="US",
locale="en_US"
)
tracks = res.get("tracks", {}).get("items", [])
```
## Concurrency and caching