DJDoubleD / QobuzDownloaderX-MOD

Downloads streams directly from Qobuz. Experimental refactoring of QobuzDownloaderX by AiiR
GNU General Public License v3.0
530 stars 17 forks source link

[Bug] Error downloading track: "An item with the same key has already been added" #40

Closed DJDoubleD closed 1 year ago

DJDoubleD commented 1 year ago

🐞 Bug Report

Error when downloading tracks for which the Qobuz API returns the same performer multiple times with different roles instead of just 1 time with all their roles.

Example album (1st track): The Jimi Hendrix Experience - Are You Experienced. Performers listed by Qobuz for first track:

Performers

Error: System.ArgumentException: An item with the same key has already been added.

Caused by: Eddie Kramer, Engineer - Eddie Kramer, Re-Mastering Engineer Why the fuck doesn't Qobuz list this as Eddie Kramer, Engineer, Re-Mastering Engineer like it does for all other performers?!?


Is this a regression?

Yes, caused by the "best effort" attempt to parse the performers listed by Qobuz, as listed in the last release notes.


To Reproduce

Try to download This track


Expected behaviour

Download the track without errors.