AllToMP3 / alltomp3-app

Download and Convert YouTube, SoundCloud & Spotify in MP3 with full tags (title, artist, genre, cover, lyrics 🔥)

Home Page:https://alltomp3.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error when there is no Music directory in home directory

wug-ge opened this issue · 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.