From e85f352549472e3effc4bc751074f7ca13eecab5 Mon Sep 17 00:00:00 2001 From: Robert Watson <144362615+RazorTwig@users.noreply.github.com> Date: Thu, 4 Jun 2026 10:16:36 -0400 Subject: [PATCH] Update Qobuz Importer for Remixes Updating the Qobuz importer script to capture extra title information on both the album and tracks. Things like " (Artist A Remix)" would not get imported into MB automatically because those are not stored as part of the album and track titles by default. Also, trimming the album and track names as I have found a handful of them with trailing spaces, such as Hybrid Theory (20th Anniversary Edition) by Linkin Park (https://www.qobuz.com/us-en/album/hybrid-theory-linkin-park/qzvl42o844ada) --- qobuz_importer.user.js | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/qobuz_importer.user.js b/qobuz_importer.user.js index ae2e929..6134db8 100644 --- a/qobuz_importer.user.js +++ b/qobuz_importer.user.js @@ -90,7 +90,10 @@ function parseRelease(data) { release.url = `https://www.qobuz.com${data.relative_url}`; // no lang release.openQobuzUrl = getOpenQobuzAlbumUrl(data.id); - release.title = data.title; + release.title = data.title.trim(); + if (data.version) { + release.title += ` (${data.version})`; + } if ($.inArray('Classique', data.genres_list) != -1) { is_classical = true; release.classical = {}; @@ -169,7 +172,10 @@ function parseRelease(data) { tracks = []; } let track = {}; - track.title = trackobj.title.replace('"', '"'); + track.title = trackobj.title.replace('"', '"').trim(); + if (trackobj.version) { + track.title += ` (${trackobj.version})`; + } track.duration = trackobj.duration * 1000; let performers = getPerformers(trackobj); if (is_classical) {