# 3400 songs need id3 change from txt file..

**URL:** https://community.mp3tag.de/t/3400-songs-need-id3-change-from-txt-file/1370
**Category:** Support
**Created:** [October 5, 2004, 12:24pm UTC](https://community.mp3tag.de/t/3400-songs-need-id3-change-from-txt-file/1370 "2004-10-05T12:24:19Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![MasterOfMp3zz](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/e274bd/32.png) [@MasterOfMp3zz](https://community.mp3tag.de/u/MasterOfMp3zz)
#### Post date: [October 5, 2004, 12:24pm UTC](https://community.mp3tag.de/t/3400-songs-need-id3-change-from-txt-file/1370/1 "2004-10-05T12:24:19Z")

</div>

For example, I have the file:  
"H:\Recent\Rename\New Folder\Cinema\Eyan8ia Rempoytsika\Eyan8ia Rempoytsika

- Politikh Koyzina\01. Kadikoy - Xalkhdwn"  
And I want it to be  
Artist: Eyan8ia Rempoytsika  
Album: Politikh Koyzina  
Track: 01  
Title: Kadikoy - Xalkhdwn

I am using the convert -\> taglist-file - tag  
What do I have to put in the formatstring for it to work??  
Thanks in advance for any help... ![:unsure:](https://community.mp3tag.de/uploads/default/original/1X/cfaeba84fe6704387c5b34dfdd8172bd51b6f533.gif ":unsure:")

---

<div class="post-metadata">

### Author: ![Sebastian\_Mares](https://community.mp3tag.de/user_avatar/community.mp3tag.de/sebastian_mares/32/9285_2.png) [@Sebastian\_Mares](https://community.mp3tag.de/u/Sebastian_Mares)
#### Post date: [October 5, 2004, 12:47pm UTC](https://community.mp3tag.de/t/3400-songs-need-id3-change-from-txt-file/1370/2 "2004-10-05T12:47:02Z")

</div>

Hi!

You should use the Filename - Tag assistant for that. 😉

Regards,  
Sebastian

---

<div class="post-metadata">

### Author: ![MasterOfMp3zz](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/e274bd/32.png) [@MasterOfMp3zz](https://community.mp3tag.de/u/MasterOfMp3zz)
#### Post date: [October 5, 2004, 3:55pm UTC](https://community.mp3tag.de/t/3400-songs-need-id3-change-from-txt-file/1370/3 "2004-10-05T15:55:54Z")

</div>

Umm...is there not a specific filestring that I can use??  
Anyone else got any ideas?  
I don't wanna rename another 3000 songs one by one....It takes forever!!  
 ![:rolleyes:](https://community.mp3tag.de/uploads/default/original/1X/3a79e8b0b7d169b30216785521d7c6f4f895c421.gif ":rolleyes:")😳 ![:w00t:](https://community.mp3tag.de/uploads/default/original/1X/cb01eca72fe9339ff6f3ec9f1e3c5fe002be0f0a.gif ":w00t:")

---

<div class="post-metadata">

### Author: ![Sebastian\_Mares](https://community.mp3tag.de/user_avatar/community.mp3tag.de/sebastian_mares/32/9285_2.png) [@Sebastian\_Mares](https://community.mp3tag.de/u/Sebastian_Mares)
#### Post date: [October 5, 2004, 4:04pm UTC](https://community.mp3tag.de/t/3400-songs-need-id3-change-from-txt-file/1370/4 "2004-10-05T16:04:55Z")

</div>

OK, listen...

If you have a big text file containing the information neede for all files, you can use the Taglist-file - Tag assistent together with the appropiate variables.

If you want to generate the tags based on the file name, use the Filename - Tag tool. In your case, it would be:

```
%artist% - %album%\\%track%. %title%

or

%artist%\\%dummy% - %album%\\%track%. %title%
```

---

<div class="post-metadata">

### Author: ![MasterOfMp3zz](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/e274bd/32.png) [@MasterOfMp3zz](https://community.mp3tag.de/u/MasterOfMp3zz)
#### Post date: [October 5, 2004, 8:49pm UTC](https://community.mp3tag.de/t/3400-songs-need-id3-change-from-txt-file/1370/5 "2004-10-05T20:49:52Z")

</div>

I have a big text file containing all the information needed!  
And an example of what the text says is:  
"H:\Recent\Rename\New Folder\Cinema\Eyan8ia Rempoytsika\Eyan8ia Rempoytsika

- Politikh Koyzina\01. Kadikoy - Xalkhdwn"  
That's what the text says for each file.  
And I want to get the Artist and Album Name from the \Eyan8ia Rempoytsika
- Politikh Koyzina\ bit, which is right before the 01. Kadikoy - Xalkhdwn from which i want to get the track number (01.) and song title (Kadikoy - Xalkhdwn)..  
All the information before that, (in this specific song case: H:\Recent\Rename\New Folder\Cinema\Eyan8ia Rempoytsika) I want it to be removed...I had tried the specific formatstring that you mentioned (%artist% - %album%\%track%. %title%  
),but the artist ends up saying: H:\Recent\Rename\New Folder\Cinema\Eyan8ia Rempoytsika\Eyan8ia Rempoytsika, instead of just Eyan8ia Rempoytsika.  
I know what I'm asking for is really difficult to be done, but I'd really appreciate it if you could help me, since you seem to know what you're talking about.. 😉  
Thanks in advance ![:music:](https://community.mp3tag.de/uploads/default/original/1X/2ba05d1ade5eb0d15fc173be6f717dbe63890a70.gif ":music:")🕶

---

<div class="post-metadata">

### Author: ![Sebastian\_Mares](https://community.mp3tag.de/user_avatar/community.mp3tag.de/sebastian_mares/32/9285_2.png) [@Sebastian\_Mares](https://community.mp3tag.de/u/Sebastian_Mares)
#### Post date: [October 6, 2004, 2:59am UTC](https://community.mp3tag.de/t/3400-songs-need-id3-change-from-txt-file/1370/6 "2004-10-06T02:59:27Z")

</div>

Hi!

I am on my way to school right now, so I don't have much time... 😛

Try using _%dummy%_ to skip the unneded parts.

Sebastian

---

<div class="post-metadata">

### Author: ![MasterOfMp3zz](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/e274bd/32.png) [@MasterOfMp3zz](https://community.mp3tag.de/u/MasterOfMp3zz)
#### Post date: [October 6, 2004, 9:23am UTC](https://community.mp3tag.de/t/3400-songs-need-id3-change-from-txt-file/1370/7 "2004-10-06T09:23:01Z")

</div>

Nah, that won't work, cause some songs are in more folders than the other ones..  
Isn't there a code or maybe a magic spell ( hehe) that will cut all folders prior to the one that mentions the artist name & album?  
Lemme know when you get back from school 😃  
Good day to ya 😆🕶

---

<div class="post-metadata">

### Author: ![Sebastian\_Mares](https://community.mp3tag.de/user_avatar/community.mp3tag.de/sebastian_mares/32/9285_2.png) [@Sebastian\_Mares](https://community.mp3tag.de/u/Sebastian_Mares)
#### Post date: [October 6, 2004, 11:05am UTC](https://community.mp3tag.de/t/3400-songs-need-id3-change-from-txt-file/1370/8 "2004-10-06T11:05:03Z")

</div>

> [@](#):
>
> Isn't there a code or maybe a magic spell ( hehe) that will cut all folders prior to the one that mentions the artist name & album?

Hmm, don't think so. ☹

Maybe Florian can help.

---

<div class="post-metadata">

### Author: ![dano](https://community.mp3tag.de/user_avatar/community.mp3tag.de/dano/32/6_2.png) [@dano](https://community.mp3tag.de/u/dano)
#### Post date: [October 6, 2004, 2:00pm UTC](https://community.mp3tag.de/t/3400-songs-need-id3-change-from-txt-file/1370/9 "2004-10-06T14:00:11Z")

</div>

You could do this with the help of Regluar Expressions.  
You first need to replace : and \ signs in your taglist file with a text editor with ### because these chars are treated specially by mp3tag.  
Then you would import this converted path to a single tag field, e.g. %comment%.  
Now with a series of RegEx actions.  
This would be the content of a .mta file for this purpose:

```
[#0]
T=4
F=COMMENT
1=^.{1}###.*?###.*?###.*?###.*?###.*?###(.*)
2=$1

[#1]
T=5
F=ARTIST
1=%comment%

[#2]
T=5
F=ALBUM
1=%comment%

[#3]
T=4
F=COMMENT
1=^.*?###(.*)
2=$1

[#4]
T=5
F=TITLE
1=%comment%

[#5]
T=4
F=COMMENT
1=^(\\\\d{2})\\\\..*
2=$1

[#6]
T=5
F=TRACK
1=%comment%

[#7]
T=4
F=TITLE
1=^\\\\d{2}\\\\.\\\\s(.*)
2=$1

[#8]
T=4
F=ARTIST
1=^(.*?)###.*
2=$1

[#9]
T=4
F=ARTIST
1=^(.*?)\\\\s-\\\\s.*
2=$1

[#10]
T=4
F=ALBUM
1=^(.*?)###.*
2=$1

[#11]
T=4
F=ALBUM
1=^.*?\\\\s-\\\\s(.*)
2=$1 

```

but you now said your paths in the taglist file are inconsistent, so these actions would need some modifications i think

---

<div class="post-metadata">

### Author: ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)
#### Post date: [October 6, 2004, 5:21pm UTC](https://community.mp3tag.de/t/3400-songs-need-id3-change-from-txt-file/1370/10 "2004-10-06T17:21:56Z")

</div>

Dano's action set is near to perfection, but it won't detect the different folder tree structures.

There is no and there will never be any "magic spell" in Mp3tag, which will detect the artist name from foldernames with different structures.

Regards,  
~ Florian

---

<div class="post-metadata">

### Author: ![system](https://community.mp3tag.de/uploads/default/original/2X/c/ce7035d426cb755a7916793326d23b465222a407.png) [@system](https://community.mp3tag.de/u/system)
#### Post date: [February 9, 2026, 12:19pm UTC](https://community.mp3tag.de/t/3400-songs-need-id3-change-from-txt-file/1370/11 "2026-02-09T12:19:15Z")

</div>


