Fixed typo in pathtemplates

This commit is contained in:
RemixDev 2021-05-27 21:15:17 +02:00
parent 1faa588938
commit aff6e61cc5
2 changed files with 2 additions and 1 deletions

View file

@ -446,6 +446,7 @@ class Downloader {
}} }}
} else if (! (e instanceof DownloadCanceled)){ } else if (! (e instanceof DownloadCanceled)){
console.error(`${itemName} ${e.message}`) console.error(`${itemName} ${e.message}`)
console.trace(e)
result = {error:{ result = {error:{
message: e.message, message: e.message,
data: tempTrack data: tempTrack

View file

@ -85,7 +85,7 @@ function generatePath(track, downloadObject, settings){
(settings.createArtistFolder && track.playlist && settings.tags.savePlaylistAsCompilation) || (settings.createArtistFolder && track.playlist && settings.tags.savePlaylistAsCompilation) ||
(settings.createArtistFolder && track.playlist && settings.createStructurePlaylist) (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 artistPath = filepath
} }