# Making playlists

**URL:** https://community.mp3tag.de/t/making-playlists/11105
**Category:** Support
**Created:** [November 10, 2010, 9:42pm UTC](https://community.mp3tag.de/t/making-playlists/11105 "2010-11-10T21:42:54Z")
**Posts on this page:** 12
**Page:** 2

<div class="post-metadata">

### Author: ![pone](https://community.mp3tag.de/user_avatar/community.mp3tag.de/pone/32/272_2.png) [@pone](https://community.mp3tag.de/u/pone)
#### Post date: [November 11, 2010, 4:17am UTC](https://community.mp3tag.de/t/making-playlists/11105/21 "2010-11-11T04:17:25Z")

</div>

> [@Faalscholver](#):
>
> Because moving a directory means that I will have a directory in my mp3 folder that I do not want to be there. All directories in my mp3 folder are based on %artist%, moving such directory would create a directory named %artist% - %album%

No. If you move the directory to a existing directory, all files are just added. The string:  
M:\Heerschende Data\MP3''s\%artist%  
does not create a directory with the album name in it.

> [@](#):
>
> Besides that function also moves any artifacts that may be found in the original directory like .jpg, .cue, .txt, etc.

true.

> [@](#):
>
> Finally, I would then still have to go in manually to also relocate any files that I want to overwrite other files.

As I said, files are overwriten (with a warning message) if you move the directory with Mp3Tag.

> [@](#):
>
> I just simply want to create a playlist with mp3Tag that says:
> 
> M:\heerschende data\mp3's\Artist\artist - title.mp3
> 
> For each song in the playlist. But it doesn't work ☹ ☹ ☹

As I said, it workes here at my side. Experiment a little bit. I think you must doing something wrong at some point. Or download the latest version of Mp3Tag, maybe there is was a bug which is fixe now. Your status says you are still using 2.45b.

---

<div class="post-metadata">

### Author: ![Faalscholver](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/f/ce7236/32.png) [@Faalscholver](https://community.mp3tag.de/u/Faalscholver)
#### Post date: [November 11, 2010, 4:25am UTC](https://community.mp3tag.de/t/making-playlists/11105/22 "2010-11-11T04:25:27Z")

</div>

> [@pone](#):
>
> No. If you move the directory to a existing directory, all files are just added. The string:  
> M:\Heerschende Data\MP3''s\%artist%  
> does not create a directory with the album name in it.

Okay then I was mistaken as you said in your first post that it would move the 'whole directory' so I assumed it would move the directory itself.

> [@](#):
>
> true.

Which I really really don't want as it will clutter things up a lot.

> [@](#):
>
> As I said, files are overwriten (with a warning message) if you move the directory with Mp3Tag.

Right, but only if the files move to an existing folder which I falsely assumed wasn't the case.

> [@](#):
>
> As I said, it workes here at my side. Experiment a little bit. I think you must doing something wrong at some point. Or download the latest version of Mp3Tag, maybe there is was a bug which is fixe now. Your status says you are still using 2.45b.

I've experimented the hell out of it but it doesn't seem to work. My version is 2.46a which is the latest according to the help section.

---

<div class="post-metadata">

### Author: ![pone](https://community.mp3tag.de/user_avatar/community.mp3tag.de/pone/32/272_2.png) [@pone](https://community.mp3tag.de/u/pone)
#### Post date: [November 11, 2010, 4:49am UTC](https://community.mp3tag.de/t/making-playlists/11105/23 "2010-11-11T04:49:54Z")

</div>

A last idea:  
Go to Options \> Playlists and uncheck "Entries relative from working directory"  
Then you get playlists with the full path in it which you can store and move eveywhere. Do that after moving the audio files, of course. ' works again at my side.

---

<div class="post-metadata">

### Author: ![Faalscholver](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/f/ce7236/32.png) [@Faalscholver](https://community.mp3tag.de/u/Faalscholver)
#### Post date: [November 11, 2010, 5:04am UTC](https://community.mp3tag.de/t/making-playlists/11105/24 "2010-11-11T05:04:44Z")

</div>

I had already tried that, it doesn't make a difference.

---

<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 11, 2010, 10:24am UTC](https://community.mp3tag.de/t/making-playlists/11105/25 "2010-11-11T10:24:41Z")

</div>

Maybe you need the export feature here (Ctrl+E)

Make a new config with this content:

```
$filename(M:\Heerschende Data\MP3''s\\%artist%\\%artist% - %album%.m3u,ansi)$loop(%_path%)#EXTM3U
#EXTINF:%_length_seconds%,$if2(%artist% - %title%,%_filename_ext%)
%_filename_ext%
$loopend()

```

Select all files before you run it.

---

<div class="post-metadata">

### Author: ![Faalscholver](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/f/ce7236/32.png) [@Faalscholver](https://community.mp3tag.de/u/Faalscholver)
#### Post date: [November 15, 2010, 1:00pm UTC](https://community.mp3tag.de/t/making-playlists/11105/26 "2010-11-15T13:00:15Z")

</div>

QUOTE (dano @ Nov 11 2010, 12:24) \<{POST\_SNAPBACK}\>

Maybe you need the export feature here (Ctrl+E)

Make a new config with this content:

```
$filename(M:\Heerschende Data\MP3''s\\%artist%\\%artist% - %album%.m3u,ansi)$loop(%_path%)#EXTM3U
#EXTINF:%_length_seconds%,$if2(%artist% - %title%,%_filename_ext%)
%_filename_ext%
$loopend()

```

Select all files before you run it.

Excellent! Thank you very much!

This did the trick, except for the fact that the files ended up in the wrong order. Easily adjusted in MM. But is there something I can do to prevent this from happening?

---

<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 15, 2010, 2:29pm UTC](https://community.mp3tag.de/t/making-playlists/11105/27 "2010-11-15T14:29:19Z")

</div>

What order do you want? It can be defined inside $loop()  
$loop(%\_path%) sorts by path

---

<div class="post-metadata">

### Author: ![Faalscholver](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/f/ce7236/32.png) [@Faalscholver](https://community.mp3tag.de/u/Faalscholver)
#### Post date: [November 15, 2010, 3:04pm UTC](https://community.mp3tag.de/t/making-playlists/11105/28 "2010-11-15T15:04:43Z")

</div>

I'd prefer the order in which the files are listed in MP3Tag, is that possible?

If not, it should be tracknumber.

So that should be $loop(%track%) I assume?

* * *

Is it also possible to use this function to export the mp3 files to the preferred destination and then add the .m3u file?

---

<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 15, 2010, 3:24pm UTC](https://community.mp3tag.de/t/making-playlists/11105/29 "2010-11-15T15:24:40Z")

</div>

To sort like in Mp3tag list view:  
$loop(a)

By track number:  
$loop(%track%) or $loop($num(%track%,3))

> [@](#):
>
> Is it also possible to use this function to export the mp3 files to the preferred destination and then add the .m3u file?

For overwriting or why?  
You can create a .bat file with the export that moves the files. It can overwrite other files.

---

<div class="post-metadata">

### Author: ![Faalscholver](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/f/ce7236/32.png) [@Faalscholver](https://community.mp3tag.de/u/Faalscholver)
#### Post date: [November 15, 2010, 3:39pm UTC](https://community.mp3tag.de/t/making-playlists/11105/30 "2010-11-15T15:39:40Z")

</div>

> [@dano](#):
>
> To sort like in Mp3tag list view:  
> $loop(a)
> 
> By track number:  
> $loop(%track%) or $loop($num(%track%,3))

Thanx!

> [@](#):
>
> For overwriting or why?  
> You can create a .bat file with the export that moves the files. It can overwrite other files.

Not necessarily for overwriting just for convenience. One function to do everything at once.

Can moving the files only be done by creating a .bat file?

---

<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 15, 2010, 4:02pm UTC](https://community.mp3tag.de/t/making-playlists/11105/31 "2010-11-15T16:02:45Z")

</div>

> [@](#):
>
> Can moving the files only be done by creating a .bat file?

Move + overwrite ... only with .bat  
Move + no overwrite ... also with Convert or Actions

You can execute an export also from the actions. And the moving with the converter can be done with an action **Format value** on \_FILENAME

---

<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:22pm UTC](https://community.mp3tag.de/t/making-playlists/11105/32 "2026-02-09T12:22:41Z")

</div>



[Previous page](https://community.mp3tag.de/t/making-playlists/11105.md?page=1)
