| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | fix copying of the playlist when creating an ordered list | Florian Fischer | 2023-07-28 | 1 | -0/+15 |
| | | | | | | | Go's copy builtin does only copy min(len(dest), len(src)) elements, since we create an empty destination slice with a big enough capacity copy does not actually copy anything. | ||||
| * | fix applyTimeBonus by always using Song pointers | Florian Fischer | 2023-07-22 | 1 | -19/+19 |
| | | | | | | | | | | | | Storing song objects in the Songs slice and using pointers to the underlying array slots breaks if the underlying array must be grown. When the array is grown the objects are copied to the new array and the pointers used in queue point to the old objects. This causes that Playlist.applyTimeBonus may not correctly apply to the most recent list of songs. This is fixed by always using Song pointers. | ||||
| * | add PL prefix and an additional playlist test | Florian Fischer | 2023-07-01 | 1 | -4/+50 |
| | | |||||
| * | add logging and tests fo playlist | Florian Fischer | 2022-07-27 | 1 | -0/+89 |
