Create a Action Group (FAQs: Actions ) with the following:
-
tag track #s
Action: Format Value
Field: TRACK
Formatstring: %_counter%
(this can't reset the tracknumber for every folder. if this function is needed, you have to put this out for the actiongroup and use the Track Number Wizard, which can't be used as part of a action group) -
rename file according to directory (track # - directory)
Action: Format Value
Field: _FILENAME
Formatstring: %track% - %_directory% -
get tag values from file name (title, author, album(series name) etc)
Action: Guess Values
Source Format: $if($eql($regexp($regexp(%_filename%,.?( - ).?,$1),(.* - ).,$1), - - ),$regexp(%_filename%,(.) - (.*),$1 - - $2),%_filename%)Guessing Pattern: %track% - %artist% - %album% - %title% -
change title to "title - track #"
Action: Format Value
Field: TITLE
Formatstring: %title% - %track%
edit:
step 3 adjusted according the discussion below