fix(subsonic): random albums not reshuffling.
See: https://github.com/navidrome/navidrome/issues/3277#issuecomment-2364269787
This commit is contained in:
@@ -18,6 +18,12 @@ func SetSeed(id string, seed string) {
|
||||
instance.SetSeed(id, seed)
|
||||
}
|
||||
|
||||
func CurrentSeed(id string) string {
|
||||
instance.mutex.RLock()
|
||||
defer instance.mutex.RUnlock()
|
||||
return instance.seeds[id]
|
||||
}
|
||||
|
||||
func HashFunc() func(id, str string) uint64 {
|
||||
return instance.HashFunc()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user