6 Commits

Author SHA1 Message Date
Deluan ecf934feab fix(subsonic): random albums not reshuffling.
See: https://github.com/navidrome/navidrome/issues/3277#issuecomment-2364269787
2024-09-20 16:59:46 -04:00
Deluan d046c180bf Fix race condition 2024-07-22 14:27:02 -04:00
Deluan b2ecc1d16f Fix G404 gosec lint error 2024-05-19 21:55:19 -04:00
Deluan bcaa180fc7 Fix 32 bits builds 2024-05-19 13:03:13 -04:00
Deluan 3977ef6e0f Make first WebUI random page stick 2024-05-19 12:35:30 -04:00
Guilherme Souza 98218d045e Deterministic pagination in random albums sort (#1841)
* Deterministic pagination in random albums sort

* Reseed on first random page

* Add unit tests

* Use rand in Subsonic API

* Use different seeds per user on SEEDEDRAND() SQLite3 function

* Small refactor

* Fix id mismatch

* Add seeded random to media_file (subsonic endpoint `getRandomSongs`)

* Refactor

* Remove unneeded import

---------

Co-authored-by: Deluan <deluan@navidrome.org>
2024-05-18 14:10:53 -04:00