# dynamic playlist filenames?

**URL:** https://community.mp3tag.de/t/dynamic-playlist-filenames/18342
**Category:** Support
**Created:** [October 17, 2016, 6:36am UTC](https://community.mp3tag.de/t/dynamic-playlist-filenames/18342 "2016-10-17T06:36:06Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![regi100](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/r/e9c0ed/32.png) [@regi100](https://community.mp3tag.de/u/regi100)
#### Post date: [October 17, 2016, 6:36am UTC](https://community.mp3tag.de/t/dynamic-playlist-filenames/18342/1 "2016-10-17T06:36:06Z")

</div>

dear guys,

I have an additional questions, is it possible to create dynamic names of the \*.m3u playlists like:

%artists-%album%.m3u

Unfortunately that is not working, any ideas?  
Or do I really have to set up a fixed name for these files?

Thanks and cheers!

---

<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: [October 17, 2016, 6:46am UTC](https://community.mp3tag.de/t/dynamic-playlist-filenames/18342/2 "2016-10-17T06:46:33Z")

</div>

> [@regi](#):
>
> ...  
> %artists-%album%.m3u
> 
> Unfortunately that is not working, any ideas?

Well, it should be (if at all):  
%artist%-%album%.m3u

Still, it does not work as you have to set a string constant if you want to create a playlist with the built-in function.

Yet, you can create an export that outputs a text file in the format of a playlist. And for an export filename, it is allowed/possible to use variables.

Here is an example:  
[/t/13912/1](https://community.mp3tag.de/t/13912/1)

---

<div class="post-metadata">

### Author: ![regi100](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/r/e9c0ed/32.png) [@regi100](https://community.mp3tag.de/u/regi100)
#### Post date: [October 17, 2016, 7:05am UTC](https://community.mp3tag.de/t/dynamic-playlist-filenames/18342/3 "2016-10-17T07:05:40Z")

</div>

thank you very much ohrenkino!  
that solved it! by the way, what you ment when saying "(if at all)"?

by the way one more question please 😉  
I have a common folder structure like that

artist1  
\_\_album1  
\_\_\_\_tracks  
\_\_album2  
\_\_\_\_tracks  
\_\_album3  
\_\_\_\_tracks  
artist2  
\_\_album1  
\_\_\_\_tracks  
artist3  
\_\_album1  
\_\_\_\_tracks  
\_\_album2  
\_\_\_\_tracks

Is it possible to drag the root (wehere all artist name folders are) to mp3tag and hit "save" so in each album folder will be created a %artist%-%album%.m3u?

I am a bit unsure if that works before I mess up my audio collection 🙂

thx again!

![](https://community.mp3tag.de/uploads/default/original/2X/f/f244c11f9bf30b8e9dc7fbb6550b4041dcfbdfa0.jpg)

---

<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: [October 17, 2016, 9:13am UTC](https://community.mp3tag.de/t/dynamic-playlist-filenames/18342/4 "2016-10-17T09:13:52Z")

</div>

> [@regi](#):
>
> ... hit "save" so in each album folder will be created a %artist%-%album%.m3u?  
> ...

Not quite - it is: "for each album folder will be created a ... m3u"...  
The generated file can then be found in the current work directory.

Unless you enter a fully qualified path as filename for the export, e.g.:  
e:\music\%artist%\%album%\%artist%-%album%.m3u

PS: the "if at all" was just a little reference to the invalid syntax of "%artists-%album%.m3u" - the field is called %artist%. Your example had an "s" too many and a "%" too few. But nevermind.

---

<div class="post-metadata">

### Author: ![regi100](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/r/e9c0ed/32.png) [@regi100](https://community.mp3tag.de/u/regi100)
#### Post date: [October 17, 2016, 9:27am UTC](https://community.mp3tag.de/t/dynamic-playlist-filenames/18342/5 "2016-10-17T09:27:18Z")

</div>

> [@ohrenkino](#):
>
> Not quite - it is: "for each album folder will be created a ... m3u"...  
> The generated file can then be found in the current work directory.
> 
> Unless you enter a fully qualified path as filename for the export, e.g.:  
> e:\music\%artist%\%album%\%artist%-%album%.m3u
> 
> PS: the "if at all" was just a little reference to the invalid syntax of "%artists-%album%.m3u" - the field is called %artist%. Your example had an "s" too many and a "%" too few. But nevermind.

THANK YOU so much Ohrenkino, that helped a lot!  
Cheers

---

<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:26pm UTC](https://community.mp3tag.de/t/dynamic-playlist-filenames/18342/6 "2026-02-09T12:26:29Z")

</div>


