MediaInfo icon indicating copy to clipboard operation
MediaInfo copied to clipboard

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

Open Nino-kun opened this issue 4 months ago • 0 comments

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 https://github.com/MediaArea/MediaInfoLib/issues/2446

Nino-kun avatar Aug 03 '25 17:08 Nino-kun