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

Tracks with country restriction #39

Open
luiserdef opened this issue Oct 22, 2020 · 1 comment
Open

Tracks with country restriction #39

luiserdef opened this issue Oct 22, 2020 · 1 comment
Labels
bug Something isn't working hacktoberfest help wanted Extra attention is needed

Comments

@luiserdef
Copy link
Contributor

Describe the bug
When you want to create a playlist, some tracks is not added because they has country restrictions even if they appear in the recommendation list.
This may be different in your country but in my case that happens.

To Reproduce
Step 1 - Insert track name: ABC DEF GHI
Step 2 - Select track: ABC-DEF-GHI by Little Apple Band
Step 3 - Fill all "Fine tune your recommendations" with 0 except "How many songs do you want?" here it has to be 30.

Expected behavior
All song that appears in recommendations need to be added to my playlist.
30tracks

but when I click in "save as a Playlist" it just add 25 tracks because 5 of them is not available in my country
create

One of the songs that is not available
notavail

Additional context
To solve this problem it necessary to add another scope: "user-read-private"
user-read-private
In this way you can get the user's country and thus be able to make some filter.
I don't know if there is any problem adding this new scope

@RyanRussell00
Copy link
Owner

@gareffmz Thank you for bringing this to our attention!
This issue is open to whoever wants to take it up. The Spotify recommendations API has the option to filter by country code (I believe) but we may have to do a little bit of Engineering around the problem.
image

@RyanRussell00 RyanRussell00 added hacktoberfest bug Something isn't working labels Oct 26, 2020
@RyanRussell00 RyanRussell00 added help wanted Extra attention is needed and removed hacktoberfest labels Nov 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working hacktoberfest help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants