Closed scott-lin closed 1 year ago
I'll get back to you soon. Real life is kinda demanding at the moment 😆
The issue has been reproduced. The fix has been done and will be available for next release
The fix is available on today's v4.14
Thank you!
The problem
I'm adding a
Front
picture to anmp3
and it intermittently succeeds.Coincidentally, it actually succeeds exactly 50% of the time. I have a jpg in the same folder as my audio file, and my code (see below) tries to add the
PictureInfo
to the files embedded pictures. What I'm doing to repro, is actually just running my console app subsequent times. I can see every other time the image is added. I am clearing the embedded pictures list each attempt.Based on the logs below from ATL, it seems to be deallocating the space required for the image if it already is present on the file.
Side question: is clearing the picture list to remove all existing images a misuse of the library? Should I remove all images another way?
Environment
Details
Note, my image is 190 KB.
Execution attempt 1 -> Succeeds when no prior image is embedded. This attempt results in the image being embedded properly. ATL log:
Execution attempt 2 -> Fails when image is already embedded This attempt results in the image being removed and not being replaced (see my code). ATL log:
The next execution attempt succeeds, then fails, then succeeds, and so on with the same logs above.
Code To Reproduce Issue
Let me know if you need more details. Thanks.