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

Fix Spotify only syncing 50 playlist. #30

Merged
merged 5 commits into from
Jun 2, 2023
Merged

Fix Spotify only syncing 50 playlist. #30

merged 5 commits into from
Jun 2, 2023

Conversation

Gyarbij
Copy link
Owner

@Gyarbij Gyarbij commented Jun 2, 2023

Fixed

  • _get_sp_user_playlists: Updated the function to handle pagination and fetch all playlists, not just the first 50.

The changes include:

  • Added a while loop to fetch all playlists by checking if there's a next value in the response.
  • Updated the assignment of sp_playlists inside the loop to fetch the next set of playlists if available, otherwise, set it to None.

Gyarbij added 5 commits May 8, 2023 12:21
Fixed
_get_sp_user_playlists: Updated the function to handle pagination and fetch all playlists, not just the first 50. The changes include:
Added a while loop to fetch all playlists by checking if there's a next value in the response.
Updated the assignment of sp_playlists inside the loop to fetch the next set of playlists if available, otherwise, set it to None.
@Gyarbij Gyarbij merged commit 8e6f1a5 into main Jun 2, 2023
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.

1 participant