This commit is contained in:
afkarxyz
2026-01-11 22:41:29 +07:00
parent 7f859db173
commit 36fb34dc63
9 changed files with 46 additions and 409 deletions
+6
View File
@@ -336,6 +336,12 @@ func (a *App) DownloadTrack(req DownloadRequest) (DownloadResponse, error) {
}
deezerISRC := req.ISRC
if deezerISRC != "" {
isrcValid := len(deezerISRC) == 12 && strings.Contains(deezerISRC, "-")
if !isrcValid {
deezerISRC = ""
}
}
if deezerISRC == "" && req.SpotifyID != "" {
songlinkClient := backend.NewSongLinkClient()