I cannot sort for track in my exports.

Hi Florian.
Since my update 2.35 ---> 2.35b the sort of tracks in my export files (only test it) don't work. In the txt files and html files. Don't work in any file type.
I use too much it function. When back to old version (2.35) and the sort work perfect again.
Maybe I am doing something bad.
Very thanks. :slight_smile:

I work in my export files with the new system of exports. The older system it was discontinued since version 2.35b, I know.
I can't sort for track order with the new system.

Try $num(%track%,2) instead of %track%. I've introduced scripting in $loop()-part with version 2.35b :slight_smile:

Best regards,
~ Florian

Thanks Florian! Yes, with your instructions the sort in export files work fine. :slight_smile:

It is impossible to maintain the sort work fine (as before) with a single char (1 to 9) ??
I try with $num(%track%,1), but don't work. (1,10,11,12,13,14,15,16,17,18,19,2,20,3,4,5,6,7,8,9)

Curiosity (or bug):
With the following code... (wrong code certainly) Mp3Tag 2.35b crash...
$loop(%track%,2)$num(%track%,2). %title% %_length%

Correct Code:
$loop($num(%track%,2))$num(%track%,2). %title% %_length%

Thanks Again Florian.
A great greeting for you.

My guess is, that the crash only appears if one file is selected.

I'll try to fix it to the next release.

Best regards,
~ Florian

Hi Florian, thanks for answer my questions! :slight_smile:
I obtain the error to make crash our program, for select all files (mp3's) of a album.