about summary refs log tree commit diff stats
path: root/pkgs/by-name/sc/screenshot_temporary
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2026-02-19 22:40:04 +0100
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2026-02-19 22:40:04 +0100
commitac90e6dc4d18c4ecc3ebecba5f2f7bc370814977 (patch)
tree999bf048aed2fc3baf8db214c09bf9de7361277b /pkgs/by-name/sc/screenshot_temporary
parentpkgs/mpdpopmd: Also consider the `last_played` sticker when calculating weights (diff)
downloadnixos-config-ac90e6dc4d18c4ecc3ebecba5f2f7bc370814977.zip
pkgs/mpdpopmd: Actually consider the weight value
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.
Diffstat (limited to 'pkgs/by-name/sc/screenshot_temporary')
0 files changed, 0 insertions, 0 deletions