Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sorted lists #110

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Sorted lists #110

wants to merge 7 commits into from

Conversation

wdehoog
Copy link
Collaborator

@wdehoog wdehoog commented Apr 8, 2019

No description provided.

wdehoog added 3 commits March 21, 2019 08:15
add setting so very large lists will not be sorted
@wdehoog wdehoog requested a review from ksiazkowicz April 8, 2019 17:36
@ksiazkowicz
Copy link
Contributor

I'm not sure if I get your solution. It looks like you're limiting the list of items to 1000, so user can have either first 1000 songs/artists/albums from Spotify sorted by name or see everything. That's not really that good, if I have for example 2000 songs, I'd only get a half of that and it might be the ones I don't want. I think we should rather do some kind of caching, for example fetching all the data, storing it in a DB and somehow find a good way to figure out when should we refetch it. The good thing about that approach is that once everything is fetched, it should be running pretty smooth, even offline.

Or we could just drop sorting until Spotify fixes their API: spotify/web-api#1195

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants