# Do all this in one click?

**URL:** https://community.mp3tag.de/t/do-all-this-in-one-click/46843
**Category:** Support
**Created:** [October 23, 2019, 11:25pm UTC](https://community.mp3tag.de/t/do-all-this-in-one-click/46843 "2019-10-23T23:25:08Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![MikeMynis](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/58f4c7/32.png) [@MikeMynis](https://community.mp3tag.de/u/MikeMynis)
#### Post date: [October 23, 2019, 11:25pm UTC](https://community.mp3tag.de/t/do-all-this-in-one-click/46843/1 "2019-10-23T23:25:08Z")

</div>

Hi, I have 30K mp3 files and I need to tag them with MP3 tags.

Several fields are the same for all MP3 files. But some fields needs to be extracted from the file name.

For example, this is the structure of the file name:

"This is the title - subtext.mp3"

The full part without extension, so in this case: "This is the title - subtext" must be copied into the Title field.

The first part of this complete string: "This is the title", must be copied to the Album field.

Then how can I automatically import an image? The folder structure where I have the images is always the same. It's one directory up and then it's the "images" directory. Depending on the subtext, the image filename that ends with 3 predefined letters must be selected and set as image.

For example:  
"This is the title - subtext1.mp3"  
The " **subtext1**" refers to an image that ends with " **st1.jpg**"

"This is the title - subtext2.mp3"  
The " **subtext2**" refers to an image that ends with " **st2.jpg**"

And so on. There are 5 different subtexts.

Can this be achieved with some scripting?

What I want is to minimize the amount of manual actions, to set the tags. Ideal situation would be to select the mp3 file in Mp3Tag and click one button to start a script. This script then generates and sets the tags and includes the correct image.

I hope this is possible.

Thanks in advance 🙂  
Mike

---

<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 24, 2019, 5:02am UTC](https://community.mp3tag.de/t/do-all-this-in-one-click/46843/2 "2019-10-24T05:02:56Z")

</div>

> [@MikeMynis](#):
>
> But some fields needs to be extracted from the file name.

See the FAQs on how to get data from the filename into the tag fields:

> [@Converters to rename files or to import tags](https://community.mp3tag.de/t/converters-to-rename-files-or-to-import-tags/8016/3):
>
> How to import parts of the filename into the tag? Importing tags from filenames and directory names can be done by using the [Converter \> Filename - Tag] Converter \> Filename - Tag. The basic concept is the notion of a format string which describes the structure of the name to import from. The format string is built of either standard text (e.g., Music), placeholders (such as %artist%, %title%, ...), or backslash characters \ that denote directory structures. Here is an example that imports t…

> [@MikeMynis](#):
>
> Then how can I automatically import an image?

See the help on actions:

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

> [@MikeMynis](#):
>
> click one button to start a script

See the FAQs on how to create an action group:

> [@Actions and batch-operations](https://community.mp3tag.de/t/actions-and-batch-operations/967/2):
>
> How to create a new action? First, create a new action group via Actions \> [Actions] Actions or Alt + 6. Then, click on the button [New] New and give your action group an expressive name, e.g., "All tag fields Upper Case". This action group can be applied to the selected files after you have added one or more actions to it. Now, you can create a new action in your action group via the button [New] New and choose the desired action type from the list. At the moment the following action types …

---

<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:28pm UTC](https://community.mp3tag.de/t/do-all-this-in-one-click/46843/3 "2026-02-09T12:28:19Z")

</div>


