mirror of
https://github.com/EddieTheCubeHead/Stagnum.git
synced 2026-04-26 14:15:50 +03:00
[GH-ISSUE #66] Implement basic control over pool playback randomization #49
Labels
No labels
bug
bug
client
design
documentation
feature
feature
infrastructure
pull-request
ready for development
server
server
spike
technical work
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Stagnum#49
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Originally created by @EddieTheCubeHead on GitHub (Feb 9, 2024).
Original GitHub issue: https://github.com/EddieTheCubeHead/Stagnum/issues/66
Pool playback is being done on issue #46 with pure randomization from pool.
Create a system that allows weighting the randomization. First weighing criteria should be to apply zero weight into songs recently played, with the weight malus decaying over time. System should use parameters that represent percentages of pool size. There is no need to support changing these parameters via a route in this ticket, but the system should be set up in a way where implementing said system is supported in the future. The system should also support adding multiple dynamic and customizable parameters in the future.
Acceptance criteria: the functionality is tested and implemented including edge cases, the test set passes