Help With Actions, Please

Hello again, and thanks again in advance for any help. I recently (and very stupidly; don't ask) deleted the tags on all of my non-mp3 music files, leaving me with 10,000+ .ape, flac, m4a, mpc, wma, and wv files in need of re-tagging. Their folder structure is:

MUSIC/ARTIST.NAME/{year} - AlbumName{year}[FileExtension]

For example, Led Zeppelin's debut album is in the folder:

MUSIC/LED.ZEPPELIN/{1969} - LedZeppelinI{1969}[.flac]

and Jean-Luc Ponty's classic live album with The George Duke Trio is in the folder:

MUSIC/JEAN.LUC.PONTY/{1969} - WithTheGeorgeDukeTrio[Live]{1969}[.wv]

After years of idiocy (and a fat-handful of New Topics here) I'm experienced enough to create an Action group that re-tags the majority of the non-mp3 files properly in a two-step process (Divide And Conquer). Unfortunately, I've quite a few "greatest hits" albums with the same basic folder structure:

MUSIC/ARTIST.NAME/{year} - AlbumName{year}[FileExtension]

where the {year} is in the form {xxxx-xx} instead of {xxxx} (for example, {1953-61} or 1976-03} or {2001-13}). Is there a way to compensate for this non-consistent {year}? Using a Guess Value (%_directory%; "{"%YEAR%"}" - %ALBUM%"{"%YEAR%"}"[%DUMMY%]) works perfectly for all my single-year albums, but all my multiple-year albums end up with, literally, {} in the album field, and I don't know how to solve this problem. Thanks again for any help.

I have to ask a question about understanding.

Do you want to apply the "Guess Values" action against the Filepathname, starting at the directory level including the filename without filename extension, in order to get content back into the tag-fields ARTIST, ALBUM, YEAR?

What do you want to do with the YEAR part "{1953-61}"?
Should it be splitted in two values "1953" and "61"?
What to do with the part "61"?

Here is a proposal ...

Begin Action Group Test_2014#20140112.GuessValuesFromPath

Action #1
Actiontype 7: Import tag fields (guess values)
Source format __: %_path%
Guessing pattern: %FULLPATHNAME%

Action #2
Actiontype 7: Import tag fields (guess values)
Source format __: %_path%
End Action Group Test_2014#20140112.GuessValuesFromPath (2 Actions)


MUSIC/ARTIST.NAME/{year} - AlbumName{year}[FileExtension]

Actions -> aCTIONS (Quick) -> Guess Values

Source format:


Guessing pattern:

MUSIC/%artist%/{%year%} - %album%{%dummy%}

Looks like it should work.