Creating .mta file with A.I. script crashes

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%,/, -,, -,?, ,*, ,:, -,", ,<, ,>, ,|, )

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:

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

an action of the type 5 looks like this:

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

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

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

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.

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.

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%