Filename -> Tag


#1

Hi,

Here's my question.
I got loads of files to convert (put the tags based on the file names).
Usually, my folders have the structure below:

ARTIST
ALBUM\

TRACK_TITLE.MP3

But when it's a double disc or box set, etc, it comes like:

ARTIST
ALBUM\

Disc xx\
  TRACK_TITLE.MP3

How can I run through all the folders/files making sure it'll not put Disc 01, Disc 02, etc, as the Album?

Does that make sense?

Thanks!


#2

All file in one go:
Action: Guess Values
Sourceformat: $regexp($regexp(%path%,(disc|cd) \d+\\,,1),.\\(.+\\.+\\.+)..+,$1)
Guessing Pattern: %artist%\%album%\%track%%title%

or...

If you want to use the Converter instead, you can do so by combining it with the Filter (F3) and working in two steps:
Step 1:
Filter: %path% MATCHES (disc|cd) *\d+\\
Converter: Filename - Tag
Formatstring: %artist%\%album%\%dummy%\%track%%title%

Step 2:
Filter: NOT %path% MATCHES (disc|cd) *\d+\\
Converter: Filename - Tag
Formatstring: %artist%\%album%\%track%%title%