eviabs / downtify-premium

Downtify is an open source Spofity downloader which makes it possible to download all your favourite songs and/or playlists directly from spotify. A Spotify Premium account is required.
GNU General Public License v3.0
371 stars 39 forks source link

System.IO.PathTooLongException #29

Open spfy13 opened 3 years ago

spfy13 commented 3 years ago

When a song has a long name or a lot of artists. This error appears. image

image

The folder for the song was created but the song could not be added. The progress bar was also completed. I LOVE everything about Downtify except for this.

eviabs commented 3 years ago

Could you please share here the song's URL? Will get to this when I have some time

spfy13 commented 3 years ago

Could you please share here the song's URL? Will get to this when I have some time

https://open.spotify.com/track/1IWR45a70faZVTduyIRpG9?si=acbc1d4c8e7b42b6

It happens when there are a lot of artists and the file name becomes very long.

I managed to fix this by putting the downtify folder in the C: section of my drive and naming the downtify folder to a. This reduces the path length and allowed me to download the song.

lovemonkeyz commented 2 years ago

If the project is updated to .net 4.6.2, max_path can be set to remove this limitation