alltomp3-app icon indicating copy to clipboard operation
alltomp3-app copied to clipboard

Error when there is no Music directory in home directory

Open wug-ge opened this issue 4 years ago • 0 comments

Hi,

I'm a first time user and got an exception trying to download music:

Unhandled rejection Error: ENOENT: no such file or directory, mkdir '/home/wug-ge/Music/Spotify' at Object.mkdirSync (fs.js:731:3) at folders.forEach (/opt/AllToMP3/resources/app/node_modules/alltomp3/index.js:1053:10)

Looks like all it needs is a check if a Music directory exists and if not create one. (Or do something like mkdir -p instead)

After creating it the application does still not work for me, but it get's further then before without an exception.

wug-ge avatar Jun 01 '21 15:06 wug-ge