Sub Action in one Action problem

Hello,
I created an action composed of 2 sub-actions:
The first (export function) adds the selected tracks to a playlist for my squeezebox if this track is not already present in the playlist (PLAYLIST field empty).
The second :
Format field (PLAYLIST field = "General" (PlayList name)).
Here is the problem :
These 2 actions work very well alone but when I chain them only the format value action works.
My export function does not work.
I have had this case before with other actions. Grouping them into a single action poses a problem.
If not, can we format a field (eg PLAYLIST) in an MTE file?
This would allow me to have only one action.
My MTE file:

$filename(txt,utf-8)$loop(%_path%)$puts(test,$if($eql(%PLAYLIST%,'Général'),,'#EXTINF:'file:/$replace(%_path%,'','/')
'#EXTINF:'%_length_seconds%','%title%
$replace(%_path%,'\NAS','volume2','','/')))$get(test)
$loopend()

see here:

Thank you ohrenkino for your reply.
I didn't know that export actions are always executed after any other action has finished.
So, is it possible to fill in the "PLAYLIST" field in my MTE file?

No, exports only read existing data (or process something temporally and locally).
You can run a "Format value" action and an export action in an action group.
What does not work: run the export first and then fill the field with a value.

Ok, I will create 2 separate action groups.
Thanks again for your quick help.

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