Skip to content

Not displaying 'Collection' and 'Season' values for Matroska files #1147

@Nino-kun

Description

@Nino-kun

Using MediaInfo v25.07 (both CLI and GUI) and MKVToolNix v93.0 x64 builds for Windows

As I can see, MediaInfo 25.07 should be able display Collection, and various Season values, if corresponding tags presented in MKV file.

I assume (maybe incorrect) mapping is:
Collection - TITLE simple tag for TargetTypeValue 70;
Season_Position_Total - TOTAL_PARTS for TargetTypeValue 70;
Season - TITLE for TargetTypeValue 60;
Season_Position - PART_NUMBER for TargetTypeValue 60.

If I create empty MKV file containing only tags with command mkvmerge.exe --global-tags .\tags.xml -o .\test.mkv

tags.xml
<?xml version="1.0"?>
<!-- <!DOCTYPE Tags SYSTEM "matroskatags.dtd"> -->
<Tags>
  <Tag>
    <Targets>
      <TargetTypeValue>70</TargetTypeValue>
      <TargetType>COLLECTION</TargetType>
    </Targets>
    <Simple>
      <Name>TITLE</Name>
      <String>Coll Title</String>
    </Simple>
    <Simple>
      <Name>TOTAL_PARTS</Name>
      <String>5</String>
    </Simple>
  </Tag>
  <Tag>
    <Targets>
      <TargetTypeValue>60</TargetTypeValue>
      <TargetType>SEASON</TargetType>
    </Targets>
    <Simple>
      <Name>TITLE</Name>
      <String>Season 2</String>
    </Simple>
    <Simple>
      <Name>PART_NUMBER</Name>
      <String>2</String>
    </Simple>
    <Simple>
      <Name>TOTAL_PARTS</Name>
      <String>300</String>
    </Simple>
  </Tag>
  <Tag>
    <Targets>
      <TargetTypeValue>50</TargetTypeValue>
      <TargetType>EPISODE</TargetType>
    </Targets>
    <Simple>
      <Name>TITLE</Name>
      <String>Episode Name</String>
    </Simple>
    <Simple>
      <Name>PART_NUMBER</Name>
      <String>10</String>
    </Simple>
    <Simple>
      <Name>DATE_RELEASED</Name>
      <String>2001-01-01</String>
    </Simple>
  </Tag>
</Tags>

and run MediaInfo.exe -f .\test.mkv it displays only part of available metadata.

Title                                    : Episode Name
Track name/Position                      : 10
Track name/Total                         : 300
Released date                            : 2001-01-01

MKV file contain all tags, which can be viewed in hex editor or extracted with mkvextract.exe
Maybe this is related to #720

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions