# Lyrics aus Datei importieren?

**URL:** https://community.mp3tag.de/t/lyrics-aus-datei-importieren/6888
**Category:** Allgemein
**Created:** [May 30, 2008, 10:31am UTC](https://community.mp3tag.de/t/lyrics-aus-datei-importieren/6888 "2008-05-30T10:31:26Z")
**Posts on this page:** 15
**Page:** 1

<div class="post-metadata">

### Author: ![patika](https://community.mp3tag.de/user_avatar/community.mp3tag.de/patika/32/179_2.png) [@patika](https://community.mp3tag.de/u/patika)
#### Post date: [May 30, 2008, 10:31am UTC](https://community.mp3tag.de/t/lyrics-aus-datei-importieren/6888/1 "2008-05-30T10:31:26Z")

</div>

Hallo,

gibt es eine Möglichkeit wie ich die Songtexte für ein Album mit einem Schritt importieren kann? Beim Dateiname - Tag Konverter taucht dabei das Problem auf, dass das Feld %unsyncedlyrics% mehr als eine Zeile einnimmt und der Import somit nicht mehr fehlerfrei läuft.

---

<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: [May 30, 2008, 3:59pm UTC](https://community.mp3tag.de/t/lyrics-aus-datei-importieren/6888/2 "2008-05-30T15:59:54Z")

</div>

Es gibt die Möglichkeit das Ganze über eine Aktion Text-Datei improtieren zu lösen (vorausgesetzt die Liedtexte liegen in separaten Textdateien vor).

Viele Grüße,  
Florian

---

<div class="post-metadata">

### Author: ![patika](https://community.mp3tag.de/user_avatar/community.mp3tag.de/patika/32/179_2.png) [@patika](https://community.mp3tag.de/u/patika)
#### Post date: [May 30, 2008, 6:05pm UTC](https://community.mp3tag.de/t/lyrics-aus-datei-importieren/6888/3 "2008-05-30T18:05:19Z")

</div>

Vielen Dank,

also dann geht das Ganze leider doch nicht so wie ich mir das vorgestellt habe. Ich wollte erst die Tag-Felder (inkl. %unsyncedlyrics%) eines Albums exportieren und dann diese (z.B. gleiches Album in anderem Format) wieder importieren.  
Klappt übrigens mit dem Textdatei - Tag Konverter abgesehen von den Lyrics einwandfrei.

Grüße,  
Patika

---

<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: [May 30, 2008, 6:16pm UTC](https://community.mp3tag.de/t/lyrics-aus-datei-importieren/6888/4 "2008-05-30T18:16:25Z")

</div>

Das geht sehr einfach:  
Dateien markieren, Rechtsklick \> Tag kopieren [strg+c]  
andere Dateien markieren, Rechtsklick \> Tag einfügen [strg+v]

Oder beim Export bei den Lyrics alle Zeilenumbrüche durch eine Zeichenkombionation ersetzen, so dass es in einer Zeile bleibt, nach dem Import wieder zurück umwandeln.

---

<div class="post-metadata">

### Author: ![patika](https://community.mp3tag.de/user_avatar/community.mp3tag.de/patika/32/179_2.png) [@patika](https://community.mp3tag.de/u/patika)
#### Post date: [May 31, 2008, 3:05pm UTC](https://community.mp3tag.de/t/lyrics-aus-datei-importieren/6888/5 "2008-05-31T15:05:56Z")

</div>

Ich wusste gar nicht, dass ich auch komplette Tags von ganzen Alben so einfach kopieren und einfügen kann. Vielen Dank, ich denke somit ist mein Problem endgültig gelöst. Wenn ich das nur früher gewusst hätte...

Grüße,  
Patika

---

<div class="post-metadata">

### Author: ![ci3nt](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/c/5daacb/32.png) [@ci3nt](https://community.mp3tag.de/u/ci3nt)
#### Post date: [April 4, 2009, 10:09pm UTC](https://community.mp3tag.de/t/lyrics-aus-datei-importieren/6888/6 "2009-04-04T22:09:09Z")

</div>

> [@dano](#):
>
> ..., nach dem Import wieder zurück umwandeln.

Hallo,

wie kann man das zurück umwandeln? Anders gefragt, wie bekommt man die "Vierecke" (die ja wahrscheinlich für den Zeilenumbruch stehen)?  
Gibt es eine Möglichkeit, das manuell einzutippen?

mfG  
gnor

---

<div class="post-metadata">

### Author: ![DetlevD](https://community.mp3tag.de/user_avatar/community.mp3tag.de/detlevd/32/123_2.png) [@DetlevD](https://community.mp3tag.de/u/DetlevD)
#### Post date: [April 5, 2009, 9:11am UTC](https://community.mp3tag.de/t/lyrics-aus-datei-importieren/6888/7 "2009-04-05T09:11:08Z")

</div>

Hallo gnor, schaue dir das beigefügte Exportskript an. Vielleicht kannst du davon etwas verwenden.  
[Export\_Mp3tag\_Tag\_Dump\_Row.mte](https://community.mp3tag.de/uploads/default/original/2X/f/fd9174ba777f270072a9a87b6f5ceb350faeb34b.mte) (207 Bytes)  
Import funktioniert mit Konverter "Textdatei-Tag", bezogen auf dieses Exportskript, mit folgendem Formatstring:

```
^|_MD5AUDIO:'%_MD5AUDIO%'|_MD5:'%_MD5%'|_PATH:'%_PATH%'|...|$

```

Anstelle von "..." sind alle anderen Tagfelder in derselben Reihenfolge einzutragen, wie sie zuvor exportiert worden sind, z. B.: ALBUM:'%ALBUM%'|ARTIST:'%ARTIST%'|GENRE:'%GENRE%' usw.

Das Tagfeld UNSYNCEDLYRICS muss nach dem Import mit $replace() so bearbeitet werden, dass die zuvor verwendeten Platzhalter für LineFeed und CarriageReturn wieder zurück konvertiert werden, also aus U+000D muss $char(13) werden usw.

DD.20090405.1310.CEST

[Export\_Mp3tag\_Tag\_Dump\_Row.mte](https://community.mp3tag.de/uploads/default/original/2X/f/fd9174ba777f270072a9a87b6f5ceb350faeb34b.mte) (207 Bytes)

---

<div class="post-metadata">

### Author: ![ci3nt](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/c/5daacb/32.png) [@ci3nt](https://community.mp3tag.de/u/ci3nt)
#### Post date: [April 5, 2009, 8:30pm UTC](https://community.mp3tag.de/t/lyrics-aus-datei-importieren/6888/8 "2009-04-05T20:30:06Z")

</div>

> [@DetlevD](#):
>
> Vielleicht kannst du davon etwas verwenden.

Kann ich bzw. jetzt weiß ich wieder ein bisschen mehr. Vielen Dank!  
Die $list-Funktion z. B. kannte ich noch nicht und jetzt weiß ich auch, wie man Zeilenumbrüche macht.  
(Steht die $list-Funktion eigentlich irgendwo in der Hilfe? Ich hab jetzt durch probieren gemerkt, was die macht.)

mfG  
gnor

---

<div class="post-metadata">

### Author: ![DetlevD](https://community.mp3tag.de/user_avatar/community.mp3tag.de/detlevd/32/123_2.png) [@DetlevD](https://community.mp3tag.de/u/DetlevD)
#### Post date: [April 6, 2009, 12:28pm UTC](https://community.mp3tag.de/t/lyrics-aus-datei-importieren/6888/9 "2009-04-06T12:28:50Z")

</div>

**Mp3tag Scripting Functions**  **$list** 
- **Syntax** $list(p1,p2,p3)
- **Description** Returns a list of all tag fields stored in a media file which is supported by Mp3tag (MP3, WMA, FLAC, ...).
- **Parameters** p1 = Text in front of tag field name. p2 = Text after tag field name and in front of tag value. p3 = Text after tag value.
- **Examples**** $list(,,) **==\> DISCNUMBER1TITLESo excitedTRACK02** \>$list( , , )\<**

or

**'\>'$list(' ',' ',' ')'\<'**

==\>

> DISCNUMBER 1 TITLE So excited TRACK 02 \<

**$list(%%,%%=,|)**

or

**$list('%','%=','|')**

==\>  
%DISCNUMBER%=1|%TITLE%=So excited|%TRACK%=02|

**^|$list(,:'',''|)$**

or

**'^|'$list(,':''','''|')'$'**

==\>  
^|DISCNUMBER:'1'|TITLE:'So excited'|TRACK:'02'|$

- **See also** [/t/4535/1](https://community.mp3tag.de/t/4535/1)[Lyrics aus Datei importieren?](https://community.mp3tag.de/t/6888/7)[/t/6519/1](https://community.mp3tag.de/t/6519/1)[Backup and restore](https://community.mp3tag.de/t/6093/4)

 DD.20090406.1720.CEST Edit. DD.20090805.0848.CEST, DD.20140415.1450.CEST

---

<div class="post-metadata">

### Author: ![chrisjj](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/c/a698b9/32.png) [@chrisjj](https://community.mp3tag.de/u/chrisjj)
#### Post date: [August 4, 2009, 9:34am UTC](https://community.mp3tag.de/t/lyrics-aus-datei-importieren/6888/10 "2009-08-04T09:34:59Z")

</div>

> [\*] **Description**  
> Returns a list of all current ID3v2 tag fields from a mp3 file.

I find it also appears to work on WMA and FLAC files.

---

<div class="post-metadata">

### Author: ![DetlevD](https://community.mp3tag.de/user_avatar/community.mp3tag.de/detlevd/32/123_2.png) [@DetlevD](https://community.mp3tag.de/u/DetlevD)
#### Post date: [August 4, 2009, 10:06am UTC](https://community.mp3tag.de/t/lyrics-aus-datei-importieren/6888/11 "2009-08-04T10:06:20Z")

</div>

> [@chrisjj](#):
>
> > [\*] **Description**  
> > Returns a list of all current ID3v2 tag fields from a mp3 file.  
> > I find it also appears to work on WMA and FLAC files.

chrisjj, thank you for testing.  
Textual changes are made.

DD.20090804.1405.CEST

---

<div class="post-metadata">

### Author: ![chrisjj](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/c/a698b9/32.png) [@chrisjj](https://community.mp3tag.de/u/chrisjj)
#### Post date: [August 4, 2009, 10:39am UTC](https://community.mp3tag.de/t/lyrics-aus-datei-importieren/6888/12 "2009-08-04T10:39:21Z")

</div>

> Textual changes are made.

"Returns a list of all current ID3v2 tag fields from a media file (MP3, WMA, FLAC, maybe others too)."

I suggest

Returns a list of all in-use ID3v2 tag fields from an MP3 file, or all -inuse tag fields from an WMA, FLAC or maybe other file.

---

<div class="post-metadata">

### Author: ![DetlevD](https://community.mp3tag.de/user_avatar/community.mp3tag.de/detlevd/32/123_2.png) [@DetlevD](https://community.mp3tag.de/u/DetlevD)
#### Post date: [August 4, 2009, 10:55am UTC](https://community.mp3tag.de/t/lyrics-aus-datei-importieren/6888/13 "2009-08-04T10:55:54Z")

</div>

> [@chrisjj](#):
>
> ...I suggest  
> Returns a list of all in-use ID3v2 tag fields from an MP3 file, or all -inuse tag fields from an WMA, FLAC or maybe other file.

What's the difference between 'current' (ger: aktuell vorhanden) and 'in-use' (ger: in Betrieb)?  
Is it possible that a media file has tagfields, which are not 'in-use' (hidden tags or so)?  
What are the differences of ID3v2 tagging between of MP3, WAM, FLAC media file types?

At last, Florian can tell what $list() exports.

DD.20090804.1455.CEST

---

<div class="post-metadata">

### Author: ![chrisjj](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/c/a698b9/32.png) [@chrisjj](https://community.mp3tag.de/u/chrisjj)
#### Post date: [August 4, 2009, 11:09am UTC](https://community.mp3tag.de/t/lyrics-aus-datei-importieren/6888/14 "2009-08-04T11:09:35Z")

</div>

(Sorry for having to use English in this Geman forum.)

> What's the difference between 'current' (ger: aktuell vorhanden) and 'in-use' (ger: in Betrieb)?

Current could mean current in the specification - in-use is more specific, implying 'in the file'.

> Is it possible that a media file has tagfields, which are not 'in-use' (hidden tags or so)?

That was not my suggestion, and I don't know of any tag hiding. I do hope $list() includes empty tags.

> What are the differences of ID3v2 tagging between of MP3, WAM, FLAC media file types?

Mp3tag's interpretations of WMA and FLAC do not use ID3.

---

<div class="post-metadata">

### Author: ![DetlevD](https://community.mp3tag.de/user_avatar/community.mp3tag.de/detlevd/32/123_2.png) [@DetlevD](https://community.mp3tag.de/u/DetlevD)
#### Post date: [August 5, 2009, 4:42am UTC](https://community.mp3tag.de/t/lyrics-aus-datei-importieren/6888/15 "2009-08-05T04:42:43Z")

</div>

> [@chrisjj](#):
>
> ...
> 
> > What are the differences of ID3v2 tagging between of MP3, WAM, FLAC media file types?  
> > Mp3tag's interpretations of WMA and FLAC do not use ID3.

Ah, yes, how could I've forgotten these facts?  
Thank you to make it clear again.

DD.20090805.0842.CEST
