Add comprehensive playlist support for v1.0.0
Features: - Exact matching for all search types (artists, albums, tracks, playlists) - User playlist search (type=user_playlist) with exact and partial matching - Performance caching for user playlist data - Comprehensive documentation and test cases - HACS integration support (hacs.json) All search types now use limit=10 and prefer exact name matches to avoid Spotify's personalized recommendations, ensuring you get what you ask for.
This commit is contained in:
1 parent
c1908a549f
commit
61ce9c0e09
8 files changed
+650
-44
No files matched your search
@@ -1,6 +1,6 @@
|
||||
search:
|
||||
name: Search Spotify
|
||||
description: Search Spotify for artists, albums, tracks, or playlists and return the Spotify URI. Uses exact match when available for artist searches. Leverages your existing Home Assistant Spotify integration - no additional authentication needed.
|
||||
description: Search Spotify for artists, albums, tracks, or playlists and return the Spotify URI. Uses exact match when available. Leverages your existing Home Assistant Spotify integration - no additional authentication needed.
|
||||
fields:
|
||||
query:
|
||||
name: Query
|
||||
@@ -11,7 +11,7 @@ search:
|
||||
text:
|
||||
type:
|
||||
name: Type
|
||||
description: Type of content to search for. Artist search uses exact name matching to avoid personalized recommendations.
|
||||
description: Type of content to search for. All search types use exact name matching when possible. Use 'user_playlist' to search only within your saved playlists.
|
||||
required: false
|
||||
default: "artist"
|
||||
example: "artist"
|
||||
@@ -22,7 +22,8 @@ search:
|
||||
- "album"
|
||||
- "track"
|
||||
- "playlist"
|
||||
- "user_playlist"
|
||||
|
||||
clear_cache:
|
||||
name: Clear Cache
|
||||
description: Clear the cached Spotify client. The integration caches the Spotify client reference for performance (15-50x faster searches). Use this service if you experience issues after removing or re-adding the Spotify integration. The cache automatically invalidates when the Spotify integration is reloaded.
|
||||
description: Clear the cached Spotify client and user playlist data. The integration caches for performance (15-50x faster searches). Use this service after adding/removing playlists in Spotify or if you experience issues after removing or re-adding the Spotify integration. The cache automatically invalidates when the Spotify integration is reloaded.
|
||||
Reference in new issue
Block a user