From 75dceba97baf7f363b14825bc1292bc05650132b Mon Sep 17 00:00:00 2001 From: Honey Date: Wed, 12 Aug 2026 16:53:25 +0200 Subject: [PATCH] fix(editor): 'Deezer' autofill button is Deezer-only again (MusicBrainz has its own button) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Stufe B routed /api/meta/lookup through the combined resolver, so the editor's 'Deezer' button could silently return MusicBrainz data while the status said 'von Deezer'. The editor already has a dedicated 'MusicBrainz' button, so keep the two explicit and honest: Deezer button = Deezer only. The combined Deezer→MusicBrainz→clean resolver stays on the DOWNLOAD paths. Co-Authored-By: Claude Opus 4.8 --- backend/novasonic-server.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/backend/novasonic-server.js b/backend/novasonic-server.js index f114407..c33fce2 100644 --- a/backend/novasonic-server.js +++ b/backend/novasonic-server.js @@ -290,7 +290,9 @@ app.get('/api/meta/lookup', async (req, res) => { const { artist, title } = req.query; if (!artist || !title) return res.status(400).json({ error: 'artist and title required' }); try { - const meta = await tm.lookupTrackMeta(artist, title); + // Editor "Deezer" button = Deezer only (there is a separate "MusicBrainz" button). The combined + // Deezer→MusicBrainz→clean resolver (tm) is used by the DOWNLOAD paths, not this manual autofill. + const meta = await dz.lookupTrackMeta(artist, title); if (!meta.album && !meta.genre && !meta.year) return res.json({ found: false }); res.json({ found: true,