Fixed artist casing option not working

This commit is contained in:
RemixDev 2021-12-19 19:05:29 +01:00
parent d3b7c2c5cd
commit 82ea858128
No known key found for this signature in database
GPG key ID: B33962B465BDB51C

View file

@ -340,7 +340,8 @@ class Track {
// Change title and artist casing if needed
if (settings.titleCasing != "nothing"){
this.title = changeCase(this.title, settings.titleCasing)
} else if (settings.artistCasing != "nothing"){
}
if (settings.artistCasing != "nothing"){
this.mainArtist.name = changeCase(this.mainArtist.name, settings.artistCasing)
this.artists.forEach((artist, i) => {
this.artists[i] = changeCase(artist, settings.artistCasing)