# Export as Plaintext Tracklist

**URL:** <https://community.mp3tag.de/t/export-as-plaintext-tracklist/55062>\
**Category:** Support\
**Created:** [November 8, 2021, 6:57pm UTC](https://community.mp3tag.de/t/export-as-plaintext-tracklist/55062 "2021-11-08T18:57:52Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![newmy51](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/n/f07891/32.png) [@newmy51](https://community.mp3tag.de/u/newmy51)\
**Post date:** [November 8, 2021, 6:57pm UTC](https://community.mp3tag.de/t/export-as-plaintext-tracklist/55062/1 "2021-11-08T18:57:52Z")

</div>

Hello MP3Tag,

I wish to create a plaintext tracklist from some freshly cleaned-up files with this format as an example:

1. Artist - Track Title (0:00)

How do I do this?

Many Thanks in Advance,

-newmy51

---

<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 8, 2021, 7:22pm UTC](https://community.mp3tag.de/t/export-as-plaintext-tracklist/55062/2 "2021-11-08T19:22:17Z")

</div>

```auto
$filename(plaintext.txt,utf-8)
$loop(1)%_counter%. %artist% - %title% (%_length%)
$loopend()
```

---

<div class="post-metadata">

**Author:** ![newmy51](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/n/f07891/32.png) [@newmy51](https://community.mp3tag.de/u/newmy51)\
**Post date:** [November 8, 2021, 7:35pm UTC](https://community.mp3tag.de/t/export-as-plaintext-tracklist/55062/3 "2021-11-08T19:35:44Z")

</div>

I'm afraid I am so new to the software as to be unsure of where this script is properly entered. when I go into Export Configuration and attempt to create a new option, I get a windows prompt asking me to locate a program to use to open/associated with .mte files...

EDIT: i have chosen notepad and am proceeding accordingly

---

<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 8, 2021, 7:36pm UTC](https://community.mp3tag.de/t/export-as-plaintext-tracklist/55062/4 "2021-11-08T19:36:56Z")

</div>

> [@newmy51](#):
>
> program to use to open/associated with .mte files

Please select a plain text editor - like Editor.

---

<div class="post-metadata">

**Author:** ![newmy51](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/n/f07891/32.png) [@newmy51](https://community.mp3tag.de/u/newmy51)\
**Post date:** [November 8, 2021, 7:41pm UTC](https://community.mp3tag.de/t/export-as-plaintext-tracklist/55062/5 "2021-11-08T19:41:17Z")

</div>

great! I have now the script functioning.

however, with several directories open pertaining to a single artist, the track numbers are not exported. instead, what ought to be the track number is simply an enumeration of as many files are in the combined directories. to be clear, I would like for the export process to put the track number value at the beginning of each line. does this make sense?

---

<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 8, 2021, 7:43pm UTC](https://community.mp3tag.de/t/export-as-plaintext-tracklist/55062/6 "2021-11-08T19:43:13Z")

</div>

> [@newmy51](#):
>
> I would like for the export process to put the track number value at the beginning of each line

Like e.g.

```auto
$filename(plaintext.txt,utf-8)
$loop(%album%)%track%. %artist% - %title% (%_length%)
$loopend()

```

---

<div class="post-metadata">

**Author:** ![newmy51](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/n/f07891/32.png) [@newmy51](https://community.mp3tag.de/u/newmy51)\
**Post date:** [November 8, 2021, 7:44pm UTC](https://community.mp3tag.de/t/export-as-plaintext-tracklist/55062/7 "2021-11-08T19:44:10Z")

</div>

i used this:

$filename(plaintext.txt,utf-8)  
$loop(1)$num(%track%,2). %artist% - %title% (%\_length%)  
$loopend()

and it worked. learning is fun!

---

<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 8, 2021, 7:46pm UTC](https://community.mp3tag.de/t/export-as-plaintext-tracklist/55062/8 "2021-11-08T19:46:43Z")

</div>

> [@newmy51](#):
>
> learning is fun!

Great.  
You find more about export, structures and variables in the [help](https://docs.mp3tag.de/export)

---

<div class="post-metadata">

**Author:** ![Stoffel](https://community.mp3tag.de/user_avatar/community.mp3tag.de/stoffel/32/9392_2.png) [@Stoffel](https://community.mp3tag.de/u/Stoffel)\
**Post date:** [November 9, 2021, 9:06am UTC](https://community.mp3tag.de/t/export-as-plaintext-tracklist/55062/9 "2021-11-09T09:06:06Z")

</div>

Maybe my answer to this topic can also be what you are looking for...

> [@Export tag information to text file](https://community.mp3tag.de/t/export-tag-information-to-text-file/53798):
>
> Hi. Is there a way to extract a full set of tag information on selected files in mp3tag to a text file? I've been using ffprobe with a script to build a full tag information csv file but ffprobe lacks a lot compared to mp3tag with regards to which file types it supports and how much the file type support includes. Especially with .wav and .wma files, ffprobe shows much less information than mp3tag does. It'd be much better for me to use mp3tag to generate the data I need. Preferably from comman…

---

<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 22, 2025, 10:16am UTC](https://community.mp3tag.de/t/export-as-plaintext-tracklist/55062/10 "2025-02-22T10:16:01Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
