Just to add the "Guess value" example:
Action: Guess value
Source: $replace(%_directory% == %_filename% === %album%, '('Album')',, '('Digital Album')',, '('EP')',, '('LP')',, '('Single')',)
String: %_directory% == %_filename% === %album%
There is no guarantee that it actually works with this combination of fields as I still suspect that you have to run actions that manipulate the folder name in a different action group.