I am trying to write a script that will fix any classical albums and set the genre to Classical.
I have this:
if (genre == null || genre.length == 0) {
genre = ["Classical"];
print("No genre found. Setting genre to Classical.");
} else {
genre = ["Classical"];
print("Overwriting genre with Classical.");
}
I ran it on an album and it removed Pop from the genre field but failed to set it to classical. What am I don’t wrong?
I tried again with an album tagged symphonic. I uploaded support files