Does %artist%\%album%\CD%discnumber%\%title% help? But this needs the extended Tag discnumber to be filled in. (You get Extended Tags by pressing ALT - T or via View - Extended Tags
I've tried the first solution using the discnumber tag. It almost meets my requirements, the only thing that's missing is the numbering on the album tag. For example:
Album: Platinum Collection
Not
Album: Platinum Collection - CD3
Thanks Mike_nl.
The second solution returns the following:
Artist: C:
Title: track1
DetlevD, Have you missed something in your RegExp?
Hmm, I thought you have a tagfield named ALBUM which contains for example such a string like 'Platinum Collection - CD3', that means, this string has two parts connected by a space-hyphen-space sequence, so that:
'$regexp(%Album%,^(.+) - (CD\d+)$,$1)$lower($regexp(%Album%,^(.+) - (CD\d+)$,$2))'
will result in:
'Platinum Collection\cd3'.
This case has been prooved to be correct.
DD.20080217.1944.CET
Hmm ... I did misunderstand OP Kirkski request and proposed a format string on the base of already proper filled tag-fields, but the OP wanted to split the filepath into its components to be stored in the tag-fields, with the special need to combine some splitted values into one tag-field, just in one process.
User Mike_nl in post #2 gave the solution to fill the path component "CD number" into the tag-Field DISCNUMBER.
That is the right way.
In a following step both values from the ALBUM tag-field and from the DISCNUMBER tag-field can be combined into the ALBUM tag-field.
Action: Format value
Field: ALBUM
Formatstring: %ALBUM%' - CD'%DISCNUMBER%