aboutsummaryrefslogtreecommitdiffstats
path: root/pkgs/by-name/mp/mpdpopm/src/dj (unfollow)
Commit message (Collapse)Author
2026-09-05pkgs/mpppom/dj: Shuffle the neg/neu/pos vectorsBenedikt Peetz
Otherwise, every start would start with the same songs again, only changing if songs get removed from neg or neu. This is obviously not ideal, because we are now no longer honouring high weight factors (as the pos vector gets shuffled). But save a complete rewrite of the algorithm I don't really see a better approach.
2026-06-03pkgs/mpdpopm: Upgrade rand and lalrpop to breaking versionBenedikt Peetz
2026-02-19pkgs/mpdpopmd: Actually consider the weight valueBenedikt Peetz
The previous code only cared if the weight was positive, neutral, or negative; which meant that it considered a track with weight = -1 equal to one with weight = -999. This algorithm now performs a weighted random selection based on the weight.
2026-02-19pkgs/mpdpopmd: Also consider the `last_played` sticker when calculating weightsBenedikt Peetz
2026-02-19pkgs/mpdpopmd: Make the {positive,neutral,negative} chances configurableBenedikt Peetz
2026-01-31pkgs/mpdpopm: Shuffle `positive`, `neutral` and `negative` pl before useBenedikt Peetz
2026-01-31pkgs/mpdpopm: Actually report, which kind of track we addedBenedikt Peetz
2026-01-31pkgs/mpdpopm: Add a (basic) dj modeBenedikt Peetz