Hmm ..., yes, I think so, for example:
YOUR_SEARCH_TAG_FIELD can be a combination of two tagfields %TAG_1%%TAG_2%.
The first column in YOUR_LOOKUP_FILE must contain values of possible %TAG_1%%TAG_2% content. Each search tagfield should be formatted to a proper fixed width, i. e. padded with space or underline characters. Each search entry in the lookup file has to be unique.
I actually like this concept Dev. However, looking at your MTA's, there are surely things the user needs to change to fit there set up. How many of the things in there need to be changed to make it a smooth run, I can figure out that "YOUR_FILE_PATH_TO_LOOKUP_TXT" is obviously the path to the file on my computer for example. However, what about a lot of these other things, "LOOKUP_RESULT", "LOOKUP_SEARCH" I haven't much clue on which or if any of these need replacing and if so, with what.
A Mp3tag MTA file internally looks something like a wellknown standard INI-File.
There are sections (e.g. '[#0]' ) containing pairs of 'key=value' sequences (e.g. 'T=5').
Each section describes one action dialog that is involved in a Mp3tag action group.
Meaning:
'T=5': This stands for Mp3tag Actiontype 5, i. e. 'Format tag field'.
'F=LOOKUP_SEARCH_TAG': This is the name of the tag field to change or create.
'1=YOUR_SEARCH_TAG_FIELD': This stands for the Formatstring to use for formatting.
In the MTA file from above there are used some tag fields to store temporary results.
The temporary tags will be cleaned up at end of the actionscript by a 'Remove fields' action, e. g.
You don't need to alter these names, at end they are not relevant.
In the MTA file from above I've used symbolic names beginning with 'YOUR_' to identify Formatstrings or tagfield names you may wish to modify resp. you have to adapt to your needs:
'%YOUR_SEARCH_TAG_FIELD%' can be '%artist%'
'YOUR_RESULT_TAG_FIELD' can be 'artist_new'
'YOUR_FILE_PATH_TO_LOOKUP_TXT' can be '"C:\Some Folder\Some File.txt"'
Who would have ever thought that the fields needing changed would be labeled with a "YOUR"... silly me. Good looks for clearing it up though, fixed it right up and appears to be working like a charm! Props.
I feel like I'm close to getting your action to work, but it doesn't seem to be working. I'm using the action for a slightly different purpose (to match artists with a defined genre list) so my lookup text follows this format %ALBUMARTIST%|%GENRE% and looks like
Aerosmith|Rock
Bob Marley & The Wailers|Reggae
Britney Spears|Pop