I’ve been struggling to work out how to get a more complex script to work. Essentially I’d like to use the comment tag to add a number of values based on genre (and later add the energy level - but I can do that in a second script if needed).
Here’s the pseudo code of what I’m trying to achieve:
if ( genre = House ) set comment [DNC] [HSE] if ( genre = Deep House ) set comment [DNC] [HSE] [DEEP] if ( genre = Trance ) set comment [DNC] [TRNC] if ( genre = Tech House ) set comment [DNC] [HSE] [TCH] if ( genre = Techno ) set comment [DNC] [TCHN]
So far I’ve only really ended up with everything having the same value - not great
Is there a way to do this in a single script so I don’t have to have one for every possible genre and have it easy enough to maintain that I can just add a new line to it when a new genre needs to be accounted for?
Secondary - I’ve already got a script that conditionally adds the value “[ELn]” to the comment if the track has an energy level (where “n” is the Energy Level value) but accomplishing the above AND this in one hit would be a huge convenience.