# \[X\] Brackets not working in filename of playlist

**URL:** https://community.mp3tag.de/t/x-brackets-not-working-in-filename-of-playlist/12531
**Category:** No Bugs
**Created:** [September 22, 2011, 11:46am UTC](https://community.mp3tag.de/t/x-brackets-not-working-in-filename-of-playlist/12531 "2011-09-22T11:46:56Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Arie](https://community.mp3tag.de/user_avatar/community.mp3tag.de/arie/32/366_2.png) [@Arie](https://community.mp3tag.de/u/Arie)
#### Post date: [September 22, 2011, 11:46am UTC](https://community.mp3tag.de/t/x-brackets-not-working-in-filename-of-playlist/12531/1 "2011-09-22T11:46:56Z")

</div>

**Bug report**  
Brackets are not working in the filename of a playlist.

If you enter

> _**[**%year%**]** %album%\0.00. %album%.m3u_

in the options of Mp3tag, it creates the folder

> _2011 Album Name_

instead of

> _**[**2011**]** Album Name_

**Feature request**  
What I miss in Mp3tag is the feature to create playlists for various folders at once.

For example if I have the following folderstructure

> _Artist Name |--[2007] Album Name 1 |--[2008] Album Name 2 |--[2009] Album Name 3 |--[2010] Album Name 4 |--[2011] Album Name 5_

I would like to open the folder _Artist Name_ in Mp3tag and automatically create playlists for all albums.

These playlists should be stored in a location of my choosing, which is in my case the relevant _**[**%year%**]** %album%\0.00. %album%.m3u_ folders.

When I currently want to do this, I have to create a playlist for each album separately, so I have to select _[2007] Album Name 1_ and generate a playlist for it, then I have to select _[2008] Album Name 2_ and generate a playlist for it, et cetera.

I would simply like to select all folders at once, configure the required settings and then have five playlists stored in the location which I have specified for each playlist and with the name which I have specified.

---

<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: [September 22, 2011, 2:41pm UTC](https://community.mp3tag.de/t/x-brackets-not-working-in-filename-of-playlist/12531/2 "2011-09-22T14:41:21Z")

</div>

Brackets have a special function. To get them as plain text they must be escaped by single quotes:  
'['%year%']'

To create multiple playlists at once, select one file and press Ctrl+Shift+P

---

<div class="post-metadata">

### Author: ![Arie](https://community.mp3tag.de/user_avatar/community.mp3tag.de/arie/32/366_2.png) [@Arie](https://community.mp3tag.de/u/Arie)
#### Post date: [September 22, 2011, 6:53pm UTC](https://community.mp3tag.de/t/x-brackets-not-working-in-filename-of-playlist/12531/3 "2011-09-22T18:53:33Z")

</div>

Thank you, working like a charm! 🙂

---

<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: [December 28, 2018, 2:30pm UTC](https://community.mp3tag.de/t/x-brackets-not-working-in-filename-of-playlist/12531/4 "2018-12-28T14:30:40Z")

</div>

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