# Creating .mta file with A.I. script crashes

**URL:** https://community.mp3tag.de/t/creating-mta-file-with-a-i-script-crashes/71048
**Category:** Support
**Created:** [April 12, 2026, 12:36pm UTC](https://community.mp3tag.de/t/creating-mta-file-with-a-i-script-crashes/71048 "2026-04-12T12:36:19Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Joris](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/j/f17d59/32.png) [@Joris](https://community.mp3tag.de/u/Joris)
#### Post date: [April 12, 2026, 12:36pm UTC](https://community.mp3tag.de/t/creating-mta-file-with-a-i-script-crashes/71048/1 "2026-04-12T12:36:19Z")

</div>

Hi there, I’m new here, but love to work with MP3tag to make my Music album ready for us with my BeoSound 5 ENCORE. I have problems with creating / importing a new .mta file. I made it with A.I. help, but it keeps crashing. Is there anybody who is familiar with scripts? A.I. tells me that, when creating in notepad, Edge automatically puts som text at the end when Saving the file. This is the content:

[ActionGroup]  
Title=Encore-Proof Workflow

[Action]  
Action=5  
Flags=1

[Action]  
Action=4  
Flags=1  
Format=folder.jpg

[Action]  
Action=1  
Flags=1  
Field=\_FILENAME  
Format=$num(%track%,2) - %title%

[Action]  
Action=2  
Flags=1  
Field=\_DIRECTORY  
Format=Muziek$left(%artist%,1)%artist%%album%

[Action]  
Action=5  
Flags=1  
Format=COMMENT

[Action]  
Action=5  
Flags=1  
Format=ENCODER

[Action]  
Action=5  
Flags=1  
Format=ITUNESCOMPILATION

[Action]  
Action=7  
Flags=1  
Field=DISCNUMBER  
Format=$if2(%discnumber%,1)

[Action]  
Action=7  
Flags=1  
Field=ALBUMARTIST  
Format=%artist%

[Action]  
Action=7  
Flags=1  
Field=ARTIST  
Format=%artist%

[Action]  
Action=7  
Flags=1  
Field=ALBUM  
Format=%album%

[Action]  
Action=7  
Flags=1  
Field=TITLE  
Format=%title%

[Action]  
Action=7  
Flags=1  
Field=TITLE  
Format=$replace(%title%,/, -,, -,?, ,\*, ,:, -,", ,\<, ,\>, ,|, )

---

<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: [April 12, 2026, 12:48pm UTC](https://community.mp3tag.de/t/creating-mta-file-with-a-i-script-crashes/71048/2 "2026-04-12T12:48:19Z")

</div>

> [@Joris](#):
>
> made it with A.I. help, but it keeps crashing

I would ask the AI why it crashes.  
Also, as with most results created by an AI, it is advisable to check the truthfulness of the suggestion.

The only reliable way to create actions is to use the MP3tag built-in editor for actions.  
In your case I would test action by action and see which error messages you get.

Just a hint: in my actions an action of the type 7 looks like this:

```auto
[#4]
T=7
F=%title%
1=%album%: %title% (%track%)

```

an action of the type 5 looks like this:

```auto
[#5]
T=5
F=COMPOSER
1=%artist% (author)

```

So I would delete of the AI-generated actions and start from scratch.

---

<div class="post-metadata">

### Author: ![Joris](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/j/f17d59/32.png) [@Joris](https://community.mp3tag.de/u/Joris)
#### Post date: [April 12, 2026, 2:32pm UTC](https://community.mp3tag.de/t/creating-mta-file-with-a-i-script-crashes/71048/3 "2026-04-12T14:32:15Z")

</div>

Hi Ohrenkino, thanks for your quick response. Good suggestion. I wil do that and ask A.I. Also I will build up actions one by one.

regards,

Joris

---

<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: [April 12, 2026, 3:09pm UTC](https://community.mp3tag.de/t/creating-mta-file-with-a-i-script-crashes/71048/4 "2026-04-12T15:09:40Z")

</div>

> [@Joris](#):
>
> Good suggestion. I wil do that and ask A.I. Also I will build up actions one by one.

Asking AI will take you hours with probable no reliable result.

Build up actions "one by one" would mean, you use the interface of Mp3tag and let Mp3tag create the action group. Your AI example has no correct syntax of an action group.

---

<div class="post-metadata">

### Author: ![Joris](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/j/f17d59/32.png) [@Joris](https://community.mp3tag.de/u/Joris)
#### Post date: [April 12, 2026, 5:51pm UTC](https://community.mp3tag.de/t/creating-mta-file-with-a-i-script-crashes/71048/5 "2026-04-12T17:51:02Z")

</div>

Indeed, A.I. offers no solution after hours of chat! Is there anyone who can help me with making aan Actiongroup which can copy my music albums to a directorystructure: Muziek\A\Artist\Album ? I want to group alphabetically my artist under their first name. So “Muziek\“A” with Angelo Branduardi; Muziek\“B”for Barbra Streisand and so on.

---

<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: [April 12, 2026, 5:57pm UTC](https://community.mp3tag.de/t/creating-mta-file-with-a-i-script-crashes/71048/6 "2026-04-12T17:57:53Z")

</div>

I don't know how you have stored your files at the moment: if the new structure needs more folders than before, try  
Convert\>Tag-Filename  
Format string: `c:\muziek\$left(%artist%,1)\%artist%\%album%\%_filename%`  
or as an action the same format string in an action of the type "Format value" for \_FILENAME.

If the number of folders is OK, only the folders should be moved, then try Convert\>Tag-Tag or an action of the type "Format value" for \_DIRECTORY  
Format string: `c:\muziek\$left(%artist%,1)\%artist%\%album%`

---

<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: [April 19, 2026, 5:58pm UTC](https://community.mp3tag.de/t/creating-mta-file-with-a-i-script-crashes/71048/7 "2026-04-19T17:58:43Z")

</div>

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