diff --git a/deemix/downloader.js b/deemix/downloader.js index 95d18b2..3667d3b 100644 --- a/deemix/downloader.js +++ b/deemix/downloader.js @@ -446,6 +446,7 @@ class Downloader { }} } else if (! (e instanceof DownloadCanceled)){ console.error(`${itemName} ${e.message}`) + console.trace(e) result = {error:{ message: e.message, data: tempTrack diff --git a/deemix/utils/pathtemplates.js b/deemix/utils/pathtemplates.js index f970de7..190c46a 100644 --- a/deemix/utils/pathtemplates.js +++ b/deemix/utils/pathtemplates.js @@ -85,7 +85,7 @@ function generatePath(track, downloadObject, settings){ (settings.createArtistFolder && track.playlist && settings.tags.savePlaylistAsCompilation) || (settings.createArtistFolder && track.playlist && settings.createStructurePlaylist) ){ - filepath += `/${generateArtistName(settings.artistNameTemplate, track.album.mainAritst, settings, track.album.rootArtist)}` + filepath += `/${generateArtistName(settings.artistNameTemplate, track.album.mainArtist, settings, track.album.rootArtist)}` artistPath = filepath }