Page 1 of 1

MKV Meta Collection Title and Movie Title

Posted: 04 Sep 2017 17:53
by mytril
Hi guys,

i write an plugin for kodi, which can be used to write the movie data from kodi into the mkv metadata. But i have a problem with that, although i have found the tag specification from mkv on https://matroska.org/technical/specs/tagging/index.html and used it. I have still a problem with with the album field and the title field.

In the specification, i have read that, the album/collection name is expressed by an TITLE Tag in targettypevalue 70 and the title of the movie is expressed by the title tag in targettypevalue 50

targettypevalue 70 is the collection area
targettypevalue 50 is the movie area

so why are the fields in vlc player switched? I see the album field is filled by the movie title and the title field is filled by the collection title.

Here is my mkv meta:

Code: Select all

<?xml version="1.0"?> <!-- <!DOCTYPE Tags SYSTEM "matroskatags.dtd"> --> <Tags> <Tag> <Targets> <TargetTypeValue>70</TargetTypeValue> <TargetType>COLLECTION</TargetType> </Targets> <Simple> <Name>TITLE</Name> <String>Alice in Wonderland Collection</String> </Simple> </Tag> <Tag> <Targets> <TargetTypeValue>50</TargetTypeValue> <TargetType>MOVIE</TargetType> </Targets> <Simple> <Name>TITLE</Name> <String>Alice in Wonderland</String> </Simple> </Tag> </Tags>
my vlc version on linux is 2.2.2

Re: MKV Meta Collection Title and Movie Title

Posted: 06 Sep 2017 14:30
by InTheWings
"means the same tag name can have different meanings depending on where it is"

Re: MKV Meta Collection Title and Movie Title

Posted: 06 Sep 2017 22:07
by mytril
Yes, this is clear.

An "TITLE" tag in target "Collection" is the collection name.
An "TITLE" tag in target "Movie" is the movie name.

But the vlc player dispays it reverse