Thanks a lot, Glynor
I had an idea how to do this, but I would need to use Regex, which I have very little experience with.
In reality the directory structure looks as follows:
For 80% of the library, it is quite standard:
W:\
\ROCK A-F\
\Artist\
\Album\
This does not cause any issues.
For about 20% of the library (the 120'000 tracks in question) it is.
W:\
\ROCK A-F\
\Artist\
\z_Outtakes & Live\
\Album\
\Sometimes there is a folder here indicating Disc 1,2,3\
\filename.ext\
He uses this structure to find the outtakes (he browses by folders, as he has not tagged anything yet, which is the challenge).
The folder "z_Outtakes & Live" is always spelled exactly like this, so I could use it as an anchor. Artist sits above it and Album below it.
If I used Regex on filename(path) and parsed for "z_Outtakes & Live" and then extracted the text between the backslashes to the left and put it into the Artist Tag, I should be home. Same to the right for Album.
Then I would put the Regex into an expression column to check whether the output is correct. Finally put the Regex into the Artist and Album fields to fill them.
I have searched for a Regex example to do this, but have not found anything. How would I do this in Regex?