spotify: Increase max search results from 100 to 200

This commit is contained in:
Stein Magnus Jodal 2012-12-20 22:15:46 +01:00
parent bb2c1e3e50
commit 4b94a5a8ef
2 changed files with 4 additions and 1 deletions

View File

@ -24,6 +24,9 @@ v0.11.0 (in development)
add "spotify:artist:5TgQ66WuWkoQ2xYxaSTnVP"
add "spotify:user:p3.no:playlist:0XX6tamRiqEgh3t6FPFEkw"
- Increase max number of tracks returned by searches from 100 to 200, which
seems to be Spotify's current max limit.
**Local backend**
- Load track dates from tag cache.

View File

@ -146,7 +146,7 @@ class SpotifyLibraryProvider(base.BaseLibraryProvider):
self.backend.spotify.session.search(
spotify_query, callback,
track_count=100, album_count=0, artist_count=0)
track_count=200, album_count=0, artist_count=0)
try:
return future.get(timeout=settings.SPOTIFY_TIMEOUT)