Skip to content

[Feature]: Read and write Matroska and WebM chapters #114

Open

Description

@decriptor

Problem Statement

The Matroska and WebM reader keeps file-level tags. A Chapters element (0x1043A770) is copied through on save and is not exposed. Chapter and edition titles stay off the file title, and that rule should stay.

Tag save is #53 and the tag splice in pull request #106. Chapters are the piece that splice does not edit.

Proposed Solution

Read and write editions and chapter atoms from RFC 9559: UID, start time, end time, display name, and ChapterFlagEnabled (0x4598). Adding or editing a chapter leaves the file-level title on the file-level tag. A save that does not edit chapters keeps the original Chapters bytes.

Implement from RFC 9559. This issue stays open after #53 closes on the tag round-trip.

Alternatives Considered

Promoting the first chapter title to Tag.Title. The reader already refuses that, because a chapter target is not the file.

Additional Context

Pull request #106 copies non-file-level tags and the Chapters element back as the original bytes.

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

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions