From 910d2ab102233d49d9cb823599abf46ae9d26ca6 Mon Sep 17 00:00:00 2001 From: Inrixia Date: Sun, 20 Oct 2024 00:39:43 +1300 Subject: [PATCH] =?UTF-8?q?fix=20#90=20-=20replace=20musicbrainz=20?= =?UTF-8?q?=E2=80=99=20with=20'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/_lib/makeTags.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/_lib/makeTags.ts b/plugins/_lib/makeTags.ts index 8bb91a8..201c781 100644 --- a/plugins/_lib/makeTags.ts +++ b/plugins/_lib/makeTags.ts @@ -9,7 +9,7 @@ import type { IReleaseMatch, ITrack } from "musicbrainz-api"; const includesLower = (string: string, includes: string) => string.toLowerCase().includes(includes.toLowerCase()); export const fullTitle = (tidal: MediaItem | MediaItem["album"], musicBrainz?: ITrack | IReleaseMatch) => { - const brainzTitle = musicBrainz?.title; + const brainzTitle = musicBrainz?.title.replaceAll("’", "'"); const tidalTitle = tidal?.title; let title = brainzTitle ?? tidalTitle;