Export and Importing of Tags

Hi There

I have exported some tags in the following format

Title;Artist;Path;Filename;

And have updated the tags.

But I cannot seem to get imported back Using Textfile to Tag

I have tried %Title% %Artist% %path% %_filename%

But ir is not working can anybody offer some advice please

the separators in the import mask have to match the field separators in the data file.
AFAICT you have a semicolon in the data file but use a space in the import mask.

This is the .mte file

$filename(csv,utf-16)Title;Artist;Path;Filename;
$loop(%_filename_ext%)%title%;%artist%;%_folderpath%;%_filename_ext%;
$loopend()build on %_date% with %_app% - the universal Tag editor - Mp3tag - the universal Tag Editor (ID3v2, MP4, OGG, FLAC, ...)

As I said: the data file uses the semicolon as separator but

uses the space.
Also, I suspect that you get an error message that the lines could not be parsed.
Please export only the pure data but no column headers or other footers like the line that starts with "build ..."

I'm just curious:
Why do you export this 4 tags, manipulate them externally and import it back to Mp3tag?
I'm pretty sure that you could do that inside Mp3tag much faster.

I just trying to get it to work before I export the the 1000's I have to update

If you analyze what you can do, I would seriously also recommend that you analyze the use-case thoroughly. I am pretty sure that there are very few functions outside MP3tag that are better suited to update tags.
Or in short: the benefit of treating tags outside MP3tag should outweigh the effort to get the export/import working.

Maybe if you share what you are trying to accomplish by manipulating the data outside of mp3tag, a more efficient method can be suggested while working directly from mp3tag.

thanks guys for your advice.
i am currently trying out functionality, once i have determined what the majority of the updates are going i will have a better idea of how i can tackle the problem.

one of the reasons that i gravitated to the export function is that i have many years of experience of Excel and VBA but saying that it might not turn out to be the best solution to the tasks i have to update many 1000's of tags.

So far my main issue is that I have a lot of mp3 files with filename in all different formats which have no tags.

Any advice of the best approach to fix these files as I said I have in excess of 50,000 files

Thanks for any advice

If there are any distinguishing characters that separate the details that may be in these file names, that makes it easier to put the data into those tag fields. Even if there are a few different formats, you can at least break those into groups and work from there.

Once you have the tags lined up, you can rebuild any folder and file names into a consistent structure.

Some concrete examples of a couple of these filenames would help to see what can be done.

So far yyou have created a number of threads that circle around the problem of getting infomation from filenames.
Unfortunately, you hardly ever answer whether that works for you.
And in this thread you do not describe in more detail how your

should help you with the problem of filling the metadata.
Based on your recent posts, I assume that you might be able to work with the scripting functions (if not, let us know) - so a look at

should show you a number of functions that you might recognize from your other programs and which could be used to move data around and/or split it up.
Or which special task do you want to achieve that you see outside the scope of MP3tag?

How would you solve this problem with Excel and/or VBA?
If you tell us your approach for some real example files, we can help you to solve it in Mp3tag.

Here you go a subset of the kind if issues I have

My approach is to get all the format tag uniform FILENAME = "Artist - Title" TITLE = Title and ARTIST =Artist

The rest of tags are no that important to me

Thanks for all your help

I would filter for the files with different patterns and nothingness in the various tag fields.
Also, I would not throw away data that is otherwise hard to restore. The forum is full of support requests how to fill the year or the cover while the ALBUM is missing etc. So, IMHO, keep as much information as you can.

So: filter for files with no ARTIST:
%artist% MISSING
Then check the filenames and see where the artist may be hidden.
E.G. the file with Leroy Junior has more than 1 space character as separator between ARTIST and TITLE, perhaps there are more of these. So expand the filter to
%artist% MISSING AND %_filename% HAS " "
and then use Convert>Filename-Tag on all the displayed files where the ARTIST is the first part:
%artist%..%title%
(where the 2 . represent a space each - but the forum formatter won't display this properly)
you would have to iterate through your collection like that - and I doubt that could be done any faster with an export and import between Excel and Mp3tag.
Other patterns would be
%artist% MISSING AND %_filename% HAS -
and Convert>Filename - Tag with
%artist% - %title%

The Ken Booth anthology could be imported with:
%artist% - %album% - %track% %albumartist% - %title%
or
%artist% - %album% - %track% %dummy% - %title%
and so on.

Thanks ohrenkino for getting back to me so swiftly. I relise that filtering si going to be a key to sorting out the labels
So if I may can I ask a couple of questions

How would I filter for anywhere that has year either (1975) or [1975]

Or something like this tags that information in parentheses
King Tubby Festival Dub ( Jackie Edwards Song).mp3

Could you provide an Example of how to use RegEx

Thanks again for you help

Type exact that content in your filter F3
(1975)
All entries where (1975) exists - no matter if in a tag or filename - will be listed.
(The examples above from @ohrenkino already show you, how you can filter for specific tags or the filename.)

Process this files.

Then use a new filter like
[1975]

Process this files.

If you want to list all files with 1975 - regardless of brackets - just enter this filter:
1975
maybe with a leading space or a trailing space, according to your existing data.

Please start with this easy examples.
If you really can't find a filter for one of your examples, let us know.

There is no need for a regular expression so far.

Last but not least:
Don't forget to read the documentation about Filter.

I think you used the filter syntax almost correctly - it would be:
%_filename% HAS (1975) OR %_filename% HAS [1975]
or even - for any kind of 4-digit-number:
%_filename% MATCHES ^.\d\d\d\d.\s*

To be honest: what is puzzling me: I gave you a number exapmples how to handle the files in the screenshot of yours. But instead of telling us whether you could cope with the files and whether the conversion worked, you ask about numbers in brackets - when none of the files in the screenshot shows a leading number in the filename.
This approach looks rather chaotic to me.

You are right, I am trying to fix everything in one go which is too ambitious I will start to take it line by line

Thanks guys

I think the apporach would be to do it pattern by pattern - so look out for the separators in your filenames that help to define the pattern.
E.g my example for the "Anthology" would treat 3 files in 1 go.
The filter with the dash would help to get at least 6 files to have better data - and that from this screenshot alone.
So line by line is definitely not necessary.
How would you have done it

with VBA or Excel?