How to export 2 different folder 2 file size on single .html files

look i have a parent directory name was : new folder
directory have 2 sub-folder,
1st folder name was: 128kbps 2nd one: 320kbps
all tracks and album name was same just different bitrate and file size

i wants export
2 sub-folder name and both both file size on single line
like this
128kbps/filename file size
320kbps/filename file size

which export code have you tried so far?
It would be especially interesting to see which $loop() statements you use.

$filename(MP3List.html)
$loop(%_folderpath%)
<table>
<tr><th>Title</th><th>128Kbps</th><th>320Kbps</th></tr>
$loop(%track%)
<tr>
  <td>
  <strong>%track%. %title%</strong>
  <em>%artist%</em>
  </td>
  <td>
  <strong><a href="$replace(%_directory%,_-_128Kbps,_-_128Kbps,_-_320Kbps,_-_128Kbps)/$replace(%_filename_rel%,\,/)" target="_blank">Download (%_file_size%)</a></strong>
  </td>
  <td>
  <strong><a href="$replace(%_directory%,_-_320Kbps,_-_320Kbps,_-_128Kbps,_-_320Kbps)/$replace(%_filename_rel%,\,/)" target="_blank">Download (%_file_size%)</a></strong>
  </td>
</tr>
$loopend()
</table>
$loopend()

i have this one but i want to add file size name

If you loop by %_folderpath%, then you get first the files from one folder and then the files from the second folder.
I would think that either looping by %title% and then by %_filename% would get an output like you described.
Or you sort the files already correctly in the files list select them and use an export script that uses $loop(1) which keeps the order of the files in the files list.

To add further information, see the help for other properties variables:

Perhaps %_file_size_bytes% ist that what you are looking for.

$filename(MP3List.html)
$loop(%title%)
<table>
<tr><th>Title</th><th>128Kbps</th><th>320Kbps</th></tr>

<tr>
  <td>
  <strong>%track%. %title%</strong>
  <em>%artist%</em>
  </td>
  <td>
<strong><a href="%_filename_ext%" target="_blank">Download $loop(1)(%_file_size%)$loopend()</a></strong>
  </td>
  <td>
<strong><a href="%_filename_ext%" target="_blank">Download $loop(2)(%_file_size%)$loopend()</a></strong>
  </td>
</tr>

</table>
$loopend()

is thats ? its not working just exporting 2nd folder data not exporting both folder data
i wants to export
subfolder 1/%_filename_ext% %_file_size%
subfollder 2/%_filename_ext% %_file_size%

I do not see that the $loop(1) and $loop(2) loops go to the next file.
I would think that is should be enough to have just 1 loop
$loop(%_filename_ext%)%_directory%//%_filename_ext% %_file_size%$loopend()

My assumption: you have the same title in both files - so sorting by title is taken care of at the beginning.
Now you have a list of titles, each with a filename - now loop (sort) by this filename to output them both.

Try to get the logic right and then add the html stuff.

can u give me example code of $loop(1) and $loop(2)

there is one in this thread:

please gentore code for me $loop(1) and $loop(2) of file size. i try many ways maybe i was wrong somewhere

Could you describe how you get the 2 files next to each other?
I mean: there must be a way to get that order that you want to have on display in MP3tag.
So which fields do you sort to get that order?

no ,, i don not know

if you want to get 2 files next to each other in an export then it has to be possible to do just that in MP3tag without the export script.
If you then use the export script, it is possible to use a special sorting order, other than that of the files list - this is described by the $loop() statements - or you use the same order as in the files list - this then requires the rather special statement $loop(1) (which means "please sort the number 1" which does not do any sorting at all but takes the files in the order as found).

So either you have the list ready with the 2 similar files next to each other - or you have to sort it in the export script.
So which way is your's?

i cant understood the function
i wants to just exporting both folder name and filename file size a single files

$filename(MP3List.html)

$loop(1)%_directory%/%_filename_ext% %_file_size% $loopend()

$loop(2)%_directory%/%_filename_ext% %_file_size% $loopend()

if i try this its just exporting subfolder 2 data not exporting both files folder data

Yes. Because it does not make sense.
$loop(1)%_directory%/%_filename_ext% %_file_size% $loopend()
should be enough
No $loop(2)

$loop(1)%_directory%/%_filename_ext% %_file_size% $loopend()
this code not giving me both filesname and filesize and folder name data
just exporting subfolder 2 data

opps sry
i was maked on
One per directory