Issue With File Naming Script

I have a few hundred country single tracks that I want segregated from my main library. I have set up a separate script to put them in a different folder.

A lot of these albums have “Various Artists” as the album artist, and I would rather group them with their respective track artist. I have written the script for it, but none of my if statements seem to be registering. I have attached a couple examples.

The simple layout is “put the track in the main artists folder if it is on a various artist release, and append the artist(s) to the tracks if the track artist is different from the album artist.”

It doesn’t seem to be working as I intended, and I truly do not know where the issue lies. Is anyone able to see where the issues may be?

2 posts were merged into an existing topic: Issue With File Naming Script