This repository was archived by the owner on Sep 25, 2024. It is now read-only.
Account For Various Scenarios Spotify May Throw | Resubmission #7
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR accounts for a few scenarios that I encountered Spotify throwing while dealing with a playlist of > 2000 songs:
P
license vs aT
license (one of the example songs I had returned that type), so I went the route of simply "ignoring it" and just marking the text as''
** After the last PR was closed by upstream code changes and wasn't explicitly closed as invalid, I figured I should rebase and then re-open it. If there are any issues here, I'm happy to address them, or I can just keep my fork with the various improvements I've made elsewhere if you'd prefer not to!
Notes
This took a couple creative liberties based on me not specifically caring about certain things in how it was parsed and just wanted it to work, so I'm open to suggestions here 😄
(such as updating the max line length to be a "normal" value these days)