Make Love actually affect song selection (3x weight) #3

Merged
gthelding merged 0 commits from fix/love-vote-weight into main 2026-07-20 00:09:39 +00:00
gthelding commented 2026-07-19 16:29:11 +00:00 (Migrated from codeberg.org)

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.

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.
thelinuxcast commented 2026-07-19 18:38:05 +00:00 (Migrated from codeberg.org)

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.

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.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
thelinuxcast/dj!3
No description provided.