v7.0.4
This commit is contained in:
@@ -336,12 +336,6 @@ func (a *App) DownloadTrack(req DownloadRequest) (DownloadResponse, error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
deezerISRC := req.ISRC
|
deezerISRC := req.ISRC
|
||||||
if deezerISRC != "" {
|
|
||||||
isrcValid := len(deezerISRC) == 12 && strings.Contains(deezerISRC, "-")
|
|
||||||
if !isrcValid {
|
|
||||||
deezerISRC = ""
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if deezerISRC == "" && req.SpotifyID != "" {
|
if deezerISRC == "" && req.SpotifyID != "" {
|
||||||
|
|
||||||
songlinkClient := backend.NewSongLinkClient()
|
songlinkClient := backend.NewSongLinkClient()
|
||||||
|
|||||||
@@ -834,7 +834,7 @@ func (c *SpotifyMetadataClient) formatTrackData(raw *apiTrackResponse) TrackResp
|
|||||||
DiscNumber: raw.Disc,
|
DiscNumber: raw.Disc,
|
||||||
TotalDiscs: raw.Discs,
|
TotalDiscs: raw.Discs,
|
||||||
ExternalURL: externalURL,
|
ExternalURL: externalURL,
|
||||||
ISRC: "",
|
ISRC: raw.ID,
|
||||||
Copyright: raw.Copyright,
|
Copyright: raw.Copyright,
|
||||||
Publisher: raw.Album.Label,
|
Publisher: raw.Album.Label,
|
||||||
Plays: raw.Plays,
|
Plays: raw.Plays,
|
||||||
@@ -892,7 +892,7 @@ func (c *SpotifyMetadataClient) formatAlbumData(raw *apiAlbumResponse) (*AlbumRe
|
|||||||
DiscNumber: 1,
|
DiscNumber: 1,
|
||||||
TotalDiscs: 0,
|
TotalDiscs: 0,
|
||||||
ExternalURL: fmt.Sprintf("https://open.spotify.com/track/%s", item.ID),
|
ExternalURL: fmt.Sprintf("https://open.spotify.com/track/%s", item.ID),
|
||||||
ISRC: "",
|
ISRC: item.ID,
|
||||||
AlbumID: raw.ID,
|
AlbumID: raw.ID,
|
||||||
AlbumURL: fmt.Sprintf("https://open.spotify.com/album/%s", raw.ID),
|
AlbumURL: fmt.Sprintf("https://open.spotify.com/album/%s", raw.ID),
|
||||||
ArtistID: artistID,
|
ArtistID: artistID,
|
||||||
@@ -951,7 +951,7 @@ func (c *SpotifyMetadataClient) formatPlaylistData(raw *apiPlaylistResponse) Pla
|
|||||||
DiscNumber: 1,
|
DiscNumber: 1,
|
||||||
TotalDiscs: 0,
|
TotalDiscs: 0,
|
||||||
ExternalURL: fmt.Sprintf("https://open.spotify.com/track/%s", item.ID),
|
ExternalURL: fmt.Sprintf("https://open.spotify.com/track/%s", item.ID),
|
||||||
ISRC: "",
|
ISRC: item.ID,
|
||||||
AlbumID: item.AlbumID,
|
AlbumID: item.AlbumID,
|
||||||
AlbumURL: fmt.Sprintf("https://open.spotify.com/album/%s", item.AlbumID),
|
AlbumURL: fmt.Sprintf("https://open.spotify.com/album/%s", item.AlbumID),
|
||||||
ArtistID: artistID,
|
ArtistID: artistID,
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ function App() {
|
|||||||
const [showUnsavedChangesDialog, setShowUnsavedChangesDialog] = useState(false);
|
const [showUnsavedChangesDialog, setShowUnsavedChangesDialog] = useState(false);
|
||||||
const [resetSettingsFn, setResetSettingsFn] = useState<(() => void) | null>(null);
|
const [resetSettingsFn, setResetSettingsFn] = useState<(() => void) | null>(null);
|
||||||
const ITEMS_PER_PAGE = 50;
|
const ITEMS_PER_PAGE = 50;
|
||||||
const CURRENT_VERSION = "7.0.3";
|
const CURRENT_VERSION = "7.0.4";
|
||||||
const download = useDownload();
|
const download = useDownload();
|
||||||
const metadata = useMetadata();
|
const metadata = useMetadata();
|
||||||
const lyrics = useLyrics();
|
const lyrics = useLyrics();
|
||||||
|
|||||||
+1
-1
@@ -12,7 +12,7 @@
|
|||||||
},
|
},
|
||||||
"info": {
|
"info": {
|
||||||
"productName": "SpotiFLAC",
|
"productName": "SpotiFLAC",
|
||||||
"productVersion": "7.0.3",
|
"productVersion": "7.0.4",
|
||||||
"copyright": "© 2026 afkarxyz",
|
"copyright": "© 2026 afkarxyz",
|
||||||
"comments": "Get Spotify tracks in true FLAC from Tidal, Qobuz & Amazon Music — no account required."
|
"comments": "Get Spotify tracks in true FLAC from Tidal, Qobuz & Amazon Music — no account required."
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user