[F] Export | One file per directory overwrite

bug-fixed

#1

Using 'One file per directory' to get one file per directory works fine provided the output lines are in directory order... but if they are not, each directory's file contains the output of only the last group of files in that directory. It seems upon each directory change mp3tag is opening that output file as empty, erasing any existing content, whereas each time except the first it should be opening for appending.

A workaround is to surround the export config file content with

$loop(%_folderpath%)
$loopend()


#2

I've marked this report as "No Bug".


#3

I'd be interested to know why.


#4

Because you only need to to sort your files by directory to get the result you want to achieve.


#5

That makes it a bug with a workaround - not "no bug"!

And since the bug can cause secret data loss, I suggest it is worth fixing.


#6

I've though about this again and I think I see your point now. What you expect is that the Export creates one file of per directory regardless how the file list is sorted. I'll look into this again, but it won't append the results to an existing file (unless you enable the append option).


#7

With the current Development Build, the Export doesn't depend on the order of the file list anymore.


#8

I've though about this again and I think I see your point
now. What you expect is that the Export creates one file
of per directory regardless

Exactly.

I'll look into this again,

Thanks for the fix! Confirmed in V2.39n.