Zeugma440 / atldotnet

Fully managed, portable and easy-to-use C# library to read and edit audio data and metadata (tags) from various audio formats, playlists and CUE sheets
MIT License
440 stars 60 forks source link

Can't add a tag #262

Closed Agagamand closed 2 months ago

Agagamand commented 2 months ago

The problem

Cannot add a tag to this file: /removed/

Code To Reproduce Issue [ Good To Have ]

            Track inputTrack = new(inputFile);
            inputTrack.AdditionalFields["REPLAYGAIN_REFERENCE_LOUDNESS"] = $"-23 LUFS";
            inputTrack.AdditionalFields["REPLAYGAIN_ALGORITHM"] = "ITU-R BS.1770";
            inputTrack.Save();
Zeugma440 commented 2 months ago

Thanks for the file.

The issue was because of that gigantic LOGFILE field that has mistakenly been taken for a picture because of its size and a naive algorithm.

This has been fixed. The fix will be available in next release ✅

Zeugma440 commented 2 months ago

Fix is available on today's v5.22.

Please close the issue if it works on your side~