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

Sorting #21

Open
dnemet opened this issue Sep 3, 2020 · 1 comment
Open

Sorting #21

dnemet opened this issue Sep 3, 2020 · 1 comment
Labels
API things that require changes to the API DB things that require changes to the DB Schema enhancement New feature or request front-end things that require changes to the web Front-End good first issue investigating

Comments

@dnemet
Copy link

dnemet commented Sep 3, 2020

I'd be interested in seeing the ability to sort the default order of master playlists once created. I currently use a different website to sort default playlist order by combinations of artist name, song title, album name, album release year, and track number.

@dnemet dnemet added the enhancement New feature or request label Sep 3, 2020
@pironic
Copy link
Member

pironic commented Sep 3, 2020

Although at first glance this should be easy, this could in theory add as many hits to the Spotify API as there are songs in a playlist. According to their documentation on re-ordering playlist items, it looks like we would need to first add a song to the end of the list (or all of the new songs at once), then re-order each song into the proper place. If a user added/removed/reordered any songs in the list outside of the update process we would also need to reorder those tracks... this could be beyond the use-case for our approved Spotify API key.

The number of requests to inform Spotify of the changes is just too many.

If Spotify allows us to submit a snapshot of where things should be rather than having to inform them of each move individually, I may look at this again, but until that time, sorting on a schedule for 1500+ users is just not feasible.

Thanks for the suggestion anyway, @dnemet! (Keep 'em coming!)

@pironic pironic closed this as completed Sep 3, 2020
@pironic pironic added the declined Sorry. This is either out of scope or does not match the goals of the project right now. label Sep 3, 2020
@pironic pironic added API things that require changes to the API DB things that require changes to the DB Schema front-end things that require changes to the web Front-End good first issue investigating and removed declined Sorry. This is either out of scope or does not match the goals of the project right now. labels Sep 11, 2020
@pironic pironic reopened this Sep 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API things that require changes to the API DB things that require changes to the DB Schema enhancement New feature or request front-end things that require changes to the web Front-End good first issue investigating
Projects
None yet
Development

No branches or pull requests

2 participants