Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple values for VorbisComment not read or written correctly #45

Closed
AaronLenoir opened this issue Jan 15, 2018 · 0 comments

Comments

@AaronLenoir
Copy link
Owner

commented Jan 15, 2018

The following code seems to write two tags as expected, but when reading in the file again, only one of the values seems to remain:

            // Add multiple vorbis comment tags
            using (FlacFile file = new FlacFile(@"Data\testfile1.flac"))
            {
                if (file.VorbisComment == null)
                {
                    file.Metadata.Add(new VorbisComment());
                }

                file.VorbisComment["replay_gain-track_gain"] = new VorbisCommentValues(new string[] { "-2.50 db", "-3.50 db" });

                file.Save();
            }

Originally encountered in #43

@AaronLenoir AaronLenoir added the bug label Jan 15, 2018

AaronLenoir added a commit that referenced this issue Apr 4, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.