mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-11 10:31:47 +00:00
added comment for the added function
This commit is contained in:
@ -14,6 +14,7 @@ const defaultSettings = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const cleanupArtistName = (config, artist) => {
|
const cleanupArtistName = (config, artist) => {
|
||||||
|
// removes the suffixes of the artist name for more recognition by last.fm
|
||||||
let { suffixesToRemove } = config;
|
let { suffixesToRemove } = config;
|
||||||
if (suffixesToRemove === undefined){
|
if (suffixesToRemove === undefined){
|
||||||
suffixesToRemove = defaultSettings.suffixesToRemove;
|
suffixesToRemove = defaultSettings.suffixesToRemove;
|
||||||
|
|||||||
Reference in New Issue
Block a user