# How to import lyrics from likenamed textfiles in batch?

**URL:** https://community.mp3tag.de/t/how-to-import-lyrics-from-likenamed-textfiles-in-batch/14172
**Category:** Support
**Created:** [November 27, 2012, 4:38pm UTC](https://community.mp3tag.de/t/how-to-import-lyrics-from-likenamed-textfiles-in-batch/14172 "2012-11-27T16:38:47Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![gwenkillerby](https://community.mp3tag.de/user_avatar/community.mp3tag.de/gwenkillerby/32/407_2.png) [@gwenkillerby](https://community.mp3tag.de/u/gwenkillerby)
#### Post date: [November 27, 2012, 4:38pm UTC](https://community.mp3tag.de/t/how-to-import-lyrics-from-likenamed-textfiles-in-batch/14172/1 "2012-11-27T16:38:47Z")

</div>

How can I import lyrics from like-named textfiles in batch?

The BATCH thing is important.

So, let's say I have two files:  
song.mp3  
song.txt

or  
Lennon - Imagine.mp3  
Lennon - Imagine.txt

and let's imagine I have 10.000 of these.

How then, do I get the lyrics from the text file into the ID3v2 Lyrics field? (I guess its called %unsyncedlyrics%)??

I managed to do this for ONE song, the annoyingly named "manual" operation, but I would very much prefer to do it in batch.

I've discovered that Convert Lyrics From Lyrics3 to ID3v2 is not possible cos mp3tag does not read Lyrics3 stuff.

I would appreciate it very much , if you can recommend a Lyrics3 exporting program!

Thanks!!!

---

<div class="post-metadata">

### Author: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [November 27, 2012, 7:19pm UTC](https://community.mp3tag.de/t/how-to-import-lyrics-from-likenamed-textfiles-in-batch/14172/2 "2012-11-27T19:19:34Z")

</div>

I have not tried this out:  
There is an action called "Import from Text-file"  
It allows you to enter a filename that could consist of a variable, in your case %\_filename%.  
As target you have to specify a field - this would be "UNSYNCEDLYRICS".

Now: for other imports MP3tag expects a record to consist of a single line and the "end of paragraph" character is treated as end-of-record.  
So it could be necessary that you replace the line-breaks in the text file with something else (like a #) first so that the whole lyrics become a single line.  
You would then have to reconvert these # in MP3tag once you have imported the text.

---

<div class="post-metadata">

### Author: ![gwenkillerby](https://community.mp3tag.de/user_avatar/community.mp3tag.de/gwenkillerby/32/407_2.png) [@gwenkillerby](https://community.mp3tag.de/u/gwenkillerby)
#### Post date: [November 27, 2012, 8:52pm UTC](https://community.mp3tag.de/t/how-to-import-lyrics-from-likenamed-textfiles-in-batch/14172/3 "2012-11-27T20:52:57Z")

</div>

I don't understand what I should do with the %\_filename%.  
How would the Action know that it needed to get the lyrics for  
Lennon - Imagine.mp3  
out of the file  
Lennon - Imagine.txt

???

---

<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: [November 27, 2012, 9:11pm UTC](https://community.mp3tag.de/t/how-to-import-lyrics-from-likenamed-textfiles-in-batch/14172/4 "2012-11-27T21:11:07Z")

</div>

Action: Import Text file

![](https://community.mp3tag.de/uploads/default/original/2X/4/4dba68143d4e47992ce1cbfa4490828c8f1b42cc.png)

---

<div class="post-metadata">

### Author: ![gwenkillerby](https://community.mp3tag.de/user_avatar/community.mp3tag.de/gwenkillerby/32/407_2.png) [@gwenkillerby](https://community.mp3tag.de/u/gwenkillerby)
#### Post date: [November 27, 2012, 10:25pm UTC](https://community.mp3tag.de/t/how-to-import-lyrics-from-likenamed-textfiles-in-batch/14172/5 "2012-11-27T22:25:57Z")

</div>

> [@dano](#):
>
> Action: Import Text file

Yes, I've done that.

However, I'd like to do that in batch, preferably via a playlist.

And I am confused, if I wanted to add the lyrics to 10 files at the same time, should I then create ONE textfile like this?

> [@](#):
>
> Yellow Submarine.mp3 "We all live on a Yellow Submarine ...."  
> Michelle.mp3 "Michelle, ma belle ....."  
> |  
> |  
> |  
> Imagine.mp3 "Imagine all the people ...."

if yes, what is the syntax? For example, what do I do use as CR/LF character? Should I even use double quotes?

Thanks!

---

<div class="post-metadata">

### Author: ![JJ\_Johnson](https://community.mp3tag.de/user_avatar/community.mp3tag.de/jj_johnson/32/67_2.png) [@JJ\_Johnson](https://community.mp3tag.de/u/JJ_Johnson)
#### Post date: [November 28, 2012, 4:18am UTC](https://community.mp3tag.de/t/how-to-import-lyrics-from-likenamed-textfiles-in-batch/14172/6 "2012-11-28T04:18:20Z")

</div>

> [@GwenkillRRRRbeee](#):
>
> Yes, I've done that.
> 
> However, I'd like to do that in batch, preferably via a playlist.

Not sure what you mean. You can use the action that Dano described above and apply it to multiple files. That's your 'batch' processing. If you're asking how to select the files to apply the action to, then you may want to see if you can use a filter if you can't easily select them manually. I've never tried loading files into Mp3tag using a playlist; I'm not sure it's possible.

> [@](#):
>
> And I am confused, if I wanted to add the lyrics to 10 files at the same time, should I then create ONE textfile like this?

You said each lyrics text file has the same file name as the audio file. So look at the action described by Dano. _%\_filename%_ will be the file name of each music files (minus the extension), so they should match up 1:1. You would select multiple files in Mp3tag and apply the action. And the text imported into each audio file should be the text contained in the .txt file with the same base file name.

> [@](#):
>
> if yes, what is the syntax? For example, what do I do use as CR/LF character? Should I even use double quotes?

The syntax within the lyrics text files? That won't matter much to Mp3tag. It will import whatever is there.

---

<div class="post-metadata">

### Author: ![gwenkillerby](https://community.mp3tag.de/user_avatar/community.mp3tag.de/gwenkillerby/32/407_2.png) [@gwenkillerby](https://community.mp3tag.de/u/gwenkillerby)
#### Post date: [November 28, 2012, 12:00pm UTC](https://community.mp3tag.de/t/how-to-import-lyrics-from-likenamed-textfiles-in-batch/14172/7 "2012-11-28T12:00:57Z")

</div>

EDIT: I've upgraded to 2.53  
didn't help.  
I used the Convert thing _Tag -TAG_, but the only thing that accomplished was to put the _ **name** _ of the textfile into the lyrics field, not the **content** of the textfile. That suggd.

Please tell me how easy it is to find the Import from text file Action 😉

I'm bordering on the suicidal now.

PRE-Edit,

> [@dano](#):
>
> Action: Import Text file

I found this in the help for 2.48 and 2.53

> [@](#):
>
> **Import text file**  
> Imports the contents of the text file specified by the absolute or relative filename into the specified tag field. You can use placeholders like %artist% or %album% within file name.  
> Example: to copy the content of the file lyrics.txt to the lyrics field, set the field to UNSYNCEDLYRICS and the format string to lyrics.txt.

Sadly, there's no Action called Import text file under the Action menu, just "case conversion", "standard", "cd-R"  
So, how do i **find** or **create** that Action?

And believe me, I've looked.

And Convert | Text file - Tag" doesn't do it either, it gives me the wrong dialog box, not the picture Dano uploaded but something with "Filename:" and "Format string"

Please advice, perhaps in greater detail?

---

<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: [November 28, 2012, 5:56pm UTC](https://community.mp3tag.de/t/how-to-import-lyrics-from-likenamed-textfiles-in-batch/14172/8 "2012-11-28T17:56:25Z")

</div>

Use "Actions \> Actions (Quick)" and you can immediately choose the action type.

Or if you have opened the normal actions then follow these instructions:  
[/t/967/1](https://community.mp3tag.de/t/967/1)
