The easy part:
Looking to rename album folders so that they're as so: (%year%) %album%
That i can do. Easy.
The harder part:
There may be artist folders with tracks in the root / not in an album folder, which causes issues with renaming. The issue is when there is said loose track with album tag info. Renaming as above causes a new folder to be created one level up in the same dir as the artist, which is not ideal.
Is there a way to only process files in an existing album folder?
Maybe have MP3tag check that the dir for files does not match %artist%?
I'd go through my collection to check for loose files and fix them, but i have a large collection and this could take a LONG time...
yes, you can check if the %artist% matches the artist, as you propose.
or you can check the folder level
you can do these checks with the filter to show only the files of one category, or you can run your actions blind with a $if function which applies only to one category.
you have seen second post where I corrected my own filters?
anyway, you have one folder level more than I thought ("General")
all files in the Nine Inch Nails folder:
%_folderpath% MATCHES music\\Industrial\\General\\Nine Inch Nails\\$
all files one folder level below the Nine Inch Nails folder:
%_folderpath% MATCHES music\\Industrial\\General\\Nine Inch Nails\\[^\\]+\\$
the same more general:
all files three levels below your music folder:
%_folderpath% MATCHES music\\[^\\]+\\[^\\]+\\[^\\]+\\$
all files four levels below your music folder:
%_folderpath% MATCHES music\\[^\\]+\\[^\\]+\\[^\\]+\\[^\\]+\\$
these are filters with general expressions.
\\ is simply "" it has to be escaped in regular expressions, so it is double. [^\\] is any other character than "" + is a repetition,
so [^\\]+ is a sequence of characters without "", so here any foldername $ is the end of the string, so here, the end of the folderpath