🎧 Your Personal Streaming Service
Go airsonicmadsonicmedia-servermusicmusic-servernavidromeopensubsonicraspberry-piself-hostedstreamerstreaming-apistreaming-audiosubsonicsubsonic-server
Fix 32 bits builds
Deluanbcaa180fc7e9
diff --git a/utils/hasher/hasher.go b/utils/hasher/hasher.goindex 1de7ec98e..b72b0409f 100644--- a/utils/hasher/hasher.go+++ b/utils/hasher/hasher.go@@ -2,10 +2,8 @@ package hasherimport ("hash/maphash"- "math"+ "math/rand/v2""strconv"-- "github.com/navidrome/navidrome/utils/random")var instance = NewHasher()@@ -45,7 +43,7 @@ func (h *Hasher) Reseed(id string) {}func (h *Hasher) reseed(id string) string {- seed := strconv.FormatInt(random.Int64(math.MaxInt64), 10)+ seed := strconv.FormatUint(rand.Uint64(), 36)h.seeds[id] = seedreturn seed}