Skip to content

fix(qobuz_importer): Grab Remix/Remaster Information When Importing#917

Open
RazorTwig wants to merge 1 commit into
murdos:masterfrom
RazorTwig:master
Open

fix(qobuz_importer): Grab Remix/Remaster Information When Importing#917
RazorTwig wants to merge 1 commit into
murdos:masterfrom
RazorTwig:master

Conversation

@RazorTwig

Copy link
Copy Markdown

Currently, the Qobuz importer script does not grab any extra title information for albums or tracks, making it more time consuming to then import into MB.

For instance, for "That Acid (The Remixes)" by Marie Vaunt (https://www.qobuz.com/us-en/album/that-acid-marie-vaunt/gcl6bi92qf73b), the data imported looks like this:

Album Name: That Acid
Tracks:

  1. That Acid - Marie Vaunt (2:55)
  2. That Acid - Marie Vaunt (3:48)
  3. That Acid - Marie Vaunt (2:51)

instead of this:

Album: That Acid (The Remixes)
Tracks:

  1. That Acid (Dimension & Subsonic Remix) - Marie Vaunt (2:55)
  2. That Acid (2HOT2PLAY & Jimmy Peel Remix) - Marie Vaunt (3:48)
  3. That Acid (Yoshiko Remix) - Marie Vaunt (2:51)

This fix grabs the extra information when parsing the release (from the 'version' attribute) and appends it if it's found.

As part of my testing, I found an album which had a trailing space at the end of its name and so added a call to the string .trim() function when getting the album and track titles as well.

Example of trailing space: "Hybrid Theory (20th Anniversary Edition)" by Linkin Park (https://www.qobuz.com/us-en/album/hybrid-theory-linkin-park/qzvl42o844ada) has an album title of "Hybrid Theory "

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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant