Skip to content

Commit

Permalink
fix #90 - replace musicbrainz ’ with '
Browse files Browse the repository at this point in the history
  • Loading branch information
Inrixia committed Oct 19, 2024
1 parent 0fbe38b commit 910d2ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/_lib/makeTags.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 910d2ab

Please sign in to comment.