navidrome/db
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
..
migrations Store MusicFolder as a library in DB 2024-05-12 21:37:42 -04:00
db.go Deterministic pagination in random albums sort (#1841) 2024-05-18 14:10:53 -04:00
db_test.go Rename log.LevelCritical to log.LevelFatal 2022-12-21 14:53:36 -05:00