Fixed #276
authorRemixDev <deezloaderremix@gmail.com>
Mon, 25 Mar 2019 09:49:44 +0000 (10:49 +0100)
committerRemixDev <deezloaderremix@gmail.com>
Mon, 25 Mar 2019 09:49:44 +0000 (10:49 +0100)
app/app.js

index 6afd93ee58ac2a1ddafd5710bc2a05620e6ce137..e527ca76bf16c7deaa6e62629f1fdc8cc695088d 100644 (file)
@@ -1986,7 +1986,7 @@ function settingsRegexAlbum(foldername, artist, album, year, rtype, explicit, pu
                        foldername = foldername.replace(/%type%/g, "")
                }
                foldername = foldername.replace(/%label%/g, fixName(publisher))
-               foldername = foldername.replace(/%explicit%/g, fixName((explicit ? (foldername.indexOf(/[^%]explicit/g)>-1 ? "" : "(Explicit)") : "")))
+               foldername = foldername.replace(/%explicit%/g, fixName((explicit ? (foldername.indexOf(/[^%]explicit/g)>-1 ? "" : "(Explicit) ") : "")))
                foldername = foldername.replace(/%genre%/g, fixName(genres ? (Array.isArray(genres) ? genres[0] : genres) : "Unknown"))
                foldername = foldername.replace(/[/\\]/g, path.sep)
                return foldername.trim();