Hi everyone, I'm new to mp3tag. I want to split file name like this:
File name: How to Train your Dragon 2 Soundtrack 10 Flying with Mother John Powell.mp3
into these tags:
Album: How to Train your Dragon 2 Soundtrack
Title: Flying with Mother
Artist: John Powell
I'm using the format:
%album% %dummy% %title% %artist%
but it show up like this
Album: How to Train your Dragon 2 Soundtrack
Title: Flying
Artist: with Mother John Powell
Can anyone help me with this? because the album and the title have double space between them but there's only one space between title and artist so I don't know how to split those.
Thanks in advance.
I just found out that I can do it like this: %album% %dummy% %title% %title% %title% %artist%
But is there another way to specify how many words in the string for each tag? Like it would be great if I can tell it to take the last 2 words for artist name.
I would not try to get all the data into the correct tags in 1 go.
Try to import first the parts that you can assign without problems.
In this case I would import
into TITLE.
and then split TITLE with something like an action of the type "Guess values"
Source string: $regexp(%title%,(.*) (.*? .*?),$1==$2)
Target string: %title%==%artist%
Alternatively, you use the action of the type "Guess value" straight away:
Source pattern: $regexp(%_filename%,(.*) (.*?) (\d+) (.*) (.*? .*?),$1==$2==$3==$4==$5)
Target pattern: %album%==%genre%==%track%==%title%==%artist%