refactor: use track terminology instead of song

This commit is contained in:
Mathis Maquenne
2026-07-30 12:53:03 +02:00
parent 90b7bb25f0
commit 1fbbd60106
19 changed files with 230 additions and 230 deletions
+2 -2
View File
@@ -13,8 +13,8 @@ var (
blowfishSecretKey = []byte("g4el58wc0zvf9na1")
)
func GetBlowfishKey(songID string) []byte {
hash := md5.Sum([]byte(songID))
func GetBlowfishKey(trackID string) []byte {
hash := md5.Sum([]byte(trackID))
hashHex := hex.EncodeToString(hash[:])
key := make([]byte, len(blowfishSecretKey))