Playlist order

I want to export playlists only.
The tracks are always sorted in order of the filenames.

How can I let mp3tag export by using the order, given by the playlist?

Simply change $loop(%_filename%) to $loop(%artist%) or whatever you wish.

yeah, that´s clear.
but what is the code for random play order?

I load a playlist -> files are listed in mp3Tag as they are in the playlist.

-> I want this order in the exported file.

Which variable do I have to use?

Try $loop(%_path%)

works. thanks a lot.

$loop(%_total_files%) also works.