diff --git a/app.go b/app.go index 5624377..86cddbf 100644 --- a/app.go +++ b/app.go @@ -336,12 +336,6 @@ 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() diff --git a/backend/spotify_metadata.go b/backend/spotify_metadata.go index 7ba48a3..af67aac 100644 --- a/backend/spotify_metadata.go +++ b/backend/spotify_metadata.go @@ -834,7 +834,7 @@ func (c *SpotifyMetadataClient) formatTrackData(raw *apiTrackResponse) TrackResp DiscNumber: raw.Disc, TotalDiscs: raw.Discs, ExternalURL: externalURL, - ISRC: "", + ISRC: raw.ID, Copyright: raw.Copyright, Publisher: raw.Album.Label, Plays: raw.Plays, @@ -892,7 +892,7 @@ func (c *SpotifyMetadataClient) formatAlbumData(raw *apiAlbumResponse) (*AlbumRe DiscNumber: 1, TotalDiscs: 0, ExternalURL: fmt.Sprintf("https://open.spotify.com/track/%s", item.ID), - ISRC: "", + ISRC: item.ID, AlbumID: raw.ID, AlbumURL: fmt.Sprintf("https://open.spotify.com/album/%s", raw.ID), ArtistID: artistID, @@ -951,7 +951,7 @@ func (c *SpotifyMetadataClient) formatPlaylistData(raw *apiPlaylistResponse) Pla DiscNumber: 1, TotalDiscs: 0, ExternalURL: fmt.Sprintf("https://open.spotify.com/track/%s", item.ID), - ISRC: "", + ISRC: item.ID, AlbumID: item.AlbumID, AlbumURL: fmt.Sprintf("https://open.spotify.com/album/%s", item.AlbumID), ArtistID: artistID, diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index e287430..bed6d0b 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -50,7 +50,7 @@ function App() { const [showUnsavedChangesDialog, setShowUnsavedChangesDialog] = useState(false); const [resetSettingsFn, setResetSettingsFn] = useState<(() => void) | null>(null); const ITEMS_PER_PAGE = 50; - const CURRENT_VERSION = "7.0.3"; + const CURRENT_VERSION = "7.0.4"; const download = useDownload(); const metadata = useMetadata(); const lyrics = useLyrics(); diff --git a/wails.json b/wails.json index c3395f8..ce9d075 100644 --- a/wails.json +++ b/wails.json @@ -12,7 +12,7 @@ }, "info": { "productName": "SpotiFLAC", - "productVersion": "7.0.3", + "productVersion": "7.0.4", "copyright": "© 2026 afkarxyz", "comments": "Get Spotify tracks in true FLAC from Tidal, Qobuz & Amazon Music — no account required." },