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

Some auto suggest improvements #159

Merged
merged 2 commits into from
Mar 13, 2020
Merged

Some auto suggest improvements #159

merged 2 commits into from
Mar 13, 2020

Conversation

whomwah
Copy link
Member

@whomwah whomwah commented Mar 13, 2020

A couple of tweaks to the BRH auto suggest logic to see if we can continue to improve things.

  • Don't add to seeds for suggestion request if track voted on and the average vote is negative
  • Don't add to seeds for suggestion request if track played more than twice but never voted on
  • tweak suggest API params:
min_popularity: 30,
min_valence: 0.5,
max_liveness: 0.2,
max_duration_ms: 480000,
max_speechiness: 0.4
  • Update rules of what happens with any suggestions that get returned from Spotify
# filter out explicit tracks
# filter out tracks in the current playlist
# filter out tracks that have been played before but have a negative vote
# sort by Spotify popularity figure
# limit to 3

@whomwah whomwah self-assigned this Mar 13, 2020
@whomwah whomwah merged commit cf6c413 into master Mar 13, 2020
@whomwah whomwah deleted the suggestion2 branch March 13, 2020 16:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant