ImAiiR/QobuzDownloaderX

Downloading Albums With Space in Name Errors

schroederrt opened this issue · 0 comments

It seems that some album titles in Qobuz end in a space. I ran into this on a couple Pink Floyd albums, "A Momentary Laps of reason" has this issue for sure as of this issue's submission.

When downloading the folder creation did not include these spaces somehow and I got an error on line 3960 (of Form1.cs) that the created path could not be found.

I added trims to the albumNamePath on lines 3942, 3944, and 3953 where the full paths are being built out, and this seems to have corrected the issue. I would imagine these trims should be added to all the path components in this area.