# New Generate Playlists Action

**URL:** https://community.mp3tag.de/t/new-generate-playlists-action/63335
**Category:** Support
**Created:** [January 5, 2024, 6:26pm UTC](https://community.mp3tag.de/t/new-generate-playlists-action/63335 "2024-01-05T18:26:42Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![mista\_j](https://community.mp3tag.de/user_avatar/community.mp3tag.de/mista_j/32/15808_2.png) [@mista\_j](https://community.mp3tag.de/u/mista_j)
#### Post date: [January 5, 2024, 6:26pm UTC](https://community.mp3tag.de/t/new-generate-playlists-action/63335/1 "2024-01-05T18:26:42Z")

</div>

Is there any verbiage on the Generate Playlists action. I can't get it to work & i'm fairly certain I must be doing something wrong.

---

<div class="post-metadata">

### Author: ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)
#### Post date: [January 5, 2024, 6:28pm UTC](https://community.mp3tag.de/t/new-generate-playlists-action/63335/2 "2024-01-05T18:28:42Z")

</div>

What steps exactly do you use?

From the Playlist [documentation](https://docs.mp3tag.de/menus/file/#playlist-all-files):

 ![image](https://community.mp3tag.de/uploads/default/original/2X/0/0d54c5abae3faca1da22dd49296642964bb656e5.png)

What do you mean with "Generate Playlists action"?

---

<div class="post-metadata">

### Author: ![mista\_j](https://community.mp3tag.de/user_avatar/community.mp3tag.de/mista_j/32/15808_2.png) [@mista\_j](https://community.mp3tag.de/u/mista_j)
#### Post date: [January 5, 2024, 6:49pm UTC](https://community.mp3tag.de/t/new-generate-playlists-action/63335/3 "2024-01-05T18:49:17Z")

</div>

There is a beta version 3.23c that has a new action "Generate Playlists" this is seperate from creating playlists from the menu at the top. There has yet to be "documentation" on how to use it properly so I had to ask. As of yet I have not been bright enough to figure it out on my own

---

<div class="post-metadata">

### Author: ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)
#### Post date: [January 5, 2024, 6:53pm UTC](https://community.mp3tag.de/t/new-generate-playlists-action/63335/4 "2024-01-05T18:53:21Z")

</div>

This new Action "Generate Playlists" in Mp3tag v3.23b?

![image](https://community.mp3tag.de/uploads/default/original/2X/b/b9c43f9f003da714edb99458baf151beac477498.png)

[From development](https://community.mp3tag.de/t/mp3tag-development-build-status/455/250):

 ![image](https://community.mp3tag.de/uploads/default/original/2X/4/40f52e4db41cf4abf3aa1b8e4317f0eb019d06d9.png)

---

<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: [January 5, 2024, 7:17pm UTC](https://community.mp3tag.de/t/new-generate-playlists-action/63335/5 "2024-01-05T19:17:53Z")

</div>

> [@mista\_j](#):
>
> I can't get it to work & i'm fairly certain I must be doing something wrong.

I'm not sure what you've tried and what doesn't work, so I'll give a generic explanation.

The current development version now opens the Playlist Generator via Ctrl+Shift+P or **File → Generate Playlists...** — a dialog in which you can specify the pattern for the playlist file name and a format string for partitioning the files. The latter is used to create the individual groups of files for a playlist.

The preview in this dialog shows you which playlists Mp3tag would create as soon as you confirm with OK.

A standard use case of one playlist file per subdirectory uses `%_folderpath%` for partitioning. One file per album would be possible via `%album%` and by disc number via `%discnumber%`. Of course, combined format strings such as `%artist%-%album%-%discnumber%` are also possible, whereby the sorting takes place in the file list of the main window.

The action Generate Playlists you're referring to works the same (except for the preview) and is, like other actions that take a set of files instead of a single file, performed at the end of an action group regardless of their position in the actions list.

---

<div class="post-metadata">

### Author: ![mista\_j](https://community.mp3tag.de/user_avatar/community.mp3tag.de/mista_j/32/15808_2.png) [@mista\_j](https://community.mp3tag.de/u/mista_j)
#### Post date: [January 5, 2024, 9:06pm UTC](https://community.mp3tag.de/t/new-generate-playlists-action/63335/6 "2024-01-05T21:06:32Z")

</div>

Ok. So I have custom fields  
Playlist 1 - Playlist 6 These fields are concatenated into one field "Playlist" which ends up being "%Playlist 1% %Playlist 2% %Playlist 3%...and so on"

This is how I more easily use the filter bar to search for songs on a specific playlist

I had Originally assumed to partition files via my current "Playlist" Filed wouldn't work because it contains multiple names of playlists so its always a super longs string

So I created a new field "Test Playlist", a checkbox

Song A had this box checked & Song B had none checked

I tried to partition files based on %Test Playlist%

But the genreated playlist included both song A & B

---

<div class="post-metadata">

### Author: ![mista\_j](https://community.mp3tag.de/user_avatar/community.mp3tag.de/mista_j/32/15808_2.png) [@mista\_j](https://community.mp3tag.de/u/mista_j)
#### Post date: [January 5, 2024, 9:59pm UTC](https://community.mp3tag.de/t/new-generate-playlists-action/63335/7 "2024-01-05T21:59:07Z")

</div>

Ahhhhh I've figured it out. The preview really helped as it sort of shows what MP3tag is thinking. My format string had to be changed

---

<div class="post-metadata">

### Author: ![P.unkt](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/p/0ea827/32.png) [@P.unkt](https://community.mp3tag.de/u/P.unkt)
#### Post date: [January 27, 2024, 8:25am UTC](https://community.mp3tag.de/t/new-generate-playlists-action/63335/8 "2024-01-27T08:25:45Z")

</div>

I cannot get this to work.  
Given that I select 3 folders and want to generate a playlist in every single folder, how should the string look like?

![2024-01-27_09h24_19](https://community.mp3tag.de/uploads/default/original/3X/5/e/5e48c2fc9c4febc3c4c3e59cc084b10de999afae.jpeg)

---

<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: [January 27, 2024, 8:29am UTC](https://community.mp3tag.de/t/new-generate-playlists-action/63335/9 "2024-01-27T08:29:44Z")

</div>

Try as format string for playlist filenames:  
`%_folderpath%\%album%.m3u8`

---

<div class="post-metadata">

### Author: ![P.unkt](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/p/0ea827/32.png) [@P.unkt](https://community.mp3tag.de/u/P.unkt)
#### Post date: [January 27, 2024, 8:50am UTC](https://community.mp3tag.de/t/new-generate-playlists-action/63335/10 "2024-01-27T08:50:37Z")

</div>

So easy... thanks for the fast reply again.

---

<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 26, 2024, 8:50am UTC](https://community.mp3tag.de/t/new-generate-playlists-action/63335/11 "2024-02-26T08:50:48Z")

</div>

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