Make Love actually affect song selection (3x weight) #3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/love-vote-weight"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The README promises Love gives 3x weight in future queues, and the song_votes schema reserves vote=2 for it — but /api/love only starred the song in Navidrome and never wrote a vote, so Love had zero effect on selection. Record vote=2 on love (3.0 in VOTE_MULTIPLIERS) and clear it on unlove. Unlove deletes only a love row, so an existing like/dislike/skip vote survives toggling the heart off.
I had this in there originally and pulled it out. Though I can't remember why. Probably somewhere along my path to getting this thing to actually produce random stations instead of playing the same artist over and over again.
Now that codeberg is working again, I'll review these PRs and get them in.