Skip to content

[Bug]: Matroska Title tag reads/writes at album level #121

Closed

Description

@jamerst

Bug Description

The implementation for MatroskaTag.Title reads/writes the TITLE tag name at the album level (50). This causes the Title and Album tags to overwrite the values of each other.

Steps to Reproduce

  1. Read a Matroska file
  2. Set a value for Tags.Title
  3. Observe that the value set overwrites the value for Tags.Album

Expected Behavior

Should be able to set Title and Album independently

Actual Behavior

Title and Album overwrite each other

TagLibSharp2 Version

main branch (not yet released on Nuget)

Target Framework

.NET 10.0

Operating System

Linux

Additional Context

ChosenLevel returns 50 when reading MatroskaTag.Title:

image

ItemLevel also returns 50 when writing MatroskaTag.Title:

image

This is very similar to an existing bug in the original TagLibSharp, despite this being a clean-room re-implementation?

Activity

  1. decriptor commented on Nov 18, 2026

    @decriptor
    Owner

    Thanks for filing this. I am using the original taglib-sharp nuget to compare outputs so there is a good chance I'll have similar issues to taglib-sharp on occasion :(

    I'm trying to get close to feature parity with taglib-sharp to start.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions