# Help on action groups

**URL:** https://community.mp3tag.de/t/help-on-action-groups/66414
**Category:** Support
**Created:** [November 3, 2024, 11:40am UTC](https://community.mp3tag.de/t/help-on-action-groups/66414 "2024-11-03T11:40:30Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![chrisbxc](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/c/919ad9/32.png) [@chrisbxc](https://community.mp3tag.de/u/chrisbxc)
#### Post date: [November 3, 2024, 11:40am UTC](https://community.mp3tag.de/t/help-on-action-groups/66414/1 "2024-11-03T11:40:30Z")

</div>

I have a group of actions with some operations, I will describe them in order: top to bottom (first to last):  
Replace "\_FILENAME" - 49 actions  
Case conversion "\_FILENAME" - 1 action  
Export .m3u - 1 action  
Export .sfv - 1 action  
Export .nfo - 1 action  
Format value "\_DIRECTORY"

Somehow, I don't know how or why, the Format value "\_DIRECTORY" action triggers before the .m3u .sfv actions and I end up in the .sfv and .m3u files in front of the lines with filenames with "..\new DIR name\filename" in the old DIR name and with only the mp3 file in the new renamed DIRECTORY.  
Shouldn't the actions trigger in the order first to last and the last one being the directory rename, only after all the previous actions finish executing to then run and rename the DIR?

Does anyone know what's going on, am I doing something wrong or is it some kind of bug?

---

<div class="post-metadata">

### Author: ![poster](https://community.mp3tag.de/user_avatar/community.mp3tag.de/poster/32/4881_2.png) [@poster](https://community.mp3tag.de/u/poster)
#### Post date: [November 3, 2024, 12:21pm UTC](https://community.mp3tag.de/t/help-on-action-groups/66414/2 "2024-11-03T12:21:31Z")

</div>

> **[Export – Mp3tag Documentation](https://docs.mp3tag.de/actions/export/)**
>
> Documentation on the Export action type that can be performed as Quick Action or as reusable workflow from Action Groups. Mp3tag is the universal Tag Editor.

---

<div class="post-metadata">

### Author: ![chrisbxc](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/c/919ad9/32.png) [@chrisbxc](https://community.mp3tag.de/u/chrisbxc)
#### Post date: [November 3, 2024, 12:30pm UTC](https://community.mp3tag.de/t/help-on-action-groups/66414/3 "2024-11-03T12:30:36Z")

</div>

ok, thanks for the heads up, I did not know that information.

So I've changed the order and left all the export actions last but the same things happen...

---

<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 3, 2024, 12:38pm UTC](https://community.mp3tag.de/t/help-on-action-groups/66414/4 "2024-11-03T12:38:51Z")

</div>

See also this thread:

> [@Format Directory than Format Filename](https://community.mp3tag.de/t/format-directory-than-format-filename/19633):
>
> Using format directory to move files to new location, than trying to create Disc Folders using format filename in the newly created directory location however: Format Directory - moves folder to new location Format Filename - generates Disc folders but pulls files back to original location to do so? Why is that and how can I achieve my end result without having to pull the new directory folder into MP3tag and than run the format filename?

it looks like both functions, the export and renaming the folder, interfere with each other.  
One should be executed in a separate action group.

---

<div class="post-metadata">

### Author: ![chrisbxc](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/c/919ad9/32.png) [@chrisbxc](https://community.mp3tag.de/u/chrisbxc)
#### Post date: [November 3, 2024, 12:58pm UTC](https://community.mp3tag.de/t/help-on-action-groups/66414/5 "2024-11-03T12:58:38Z")

</div>

thanks for your input, so it seems this can't be done in one fluent group of actions...

Could you possibly help on this situation, if it can be done?  
I always have a cover image in the album folder named cover.jpg, can I rename this file using the same action group?

---

<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 3, 2024, 1:34pm UTC](https://community.mp3tag.de/t/help-on-action-groups/66414/6 "2024-11-03T13:34:39Z")

</div>

> [@chrisbxc](#):
>
> cover.jpg, can I rename this file

jpg files are not a supported file type - so by default such files are not treated by MP3tag.  
If you rename a complete folder, then all files in that folder get moved along.

---

<div class="post-metadata">

### Author: ![poster](https://community.mp3tag.de/user_avatar/community.mp3tag.de/poster/32/4881_2.png) [@poster](https://community.mp3tag.de/u/poster)
#### Post date: [November 3, 2024, 1:51pm UTC](https://community.mp3tag.de/t/help-on-action-groups/66414/7 "2024-11-03T13:51:36Z")

</div>

If you add \*.jpg to options-\>tags they are shown in Mp3Tag.  
But the files can only be renamed with constants or pseudo-tags, that are related to filenames, folders, parentfolders. i.e. %\_directory%, %\_filename%, $left(%\_filename%,5)

---

<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: [December 3, 2024, 1:52pm UTC](https://community.mp3tag.de/t/help-on-action-groups/66414/8 "2024-12-03T13:52:26Z")

</div>

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