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

Issue 40: Iterate through VorbisComments #41

Merged
merged 5 commits into from Nov 14, 2017
Merged

Issue 40: Iterate through VorbisComments #41

merged 5 commits into from Nov 14, 2017

Conversation

AaronLenoir
Copy link
Owner

Adds the possibility to iterate through VorbisComments (without knowing the tag name).

// Iterate through all VorbisComment tags
using (FlacFile file = new FlacFile(@"Data\testfile1.flac"))
{
    var vorbisComment = file.VorbisComment;
    if (vorbisComment != null)
    {
        foreach (var tag in vorbisComment)
        {
            Console.WriteLine("{0}: {1}", tag.Key, tag.Value);
        }
    }
}

@AaronLenoir AaronLenoir merged commit 81abe74 into master Nov 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant