Metadata file structure
Hi, would it be possible to explain the structure of the metadata files generated by filemeta?
What is Storage FormatID,Id=38,Type,TypeId found within the file? I need to be able to generate my own metadata files(I want to extract metadata embedded in files and rewrite them in the ntfs metadata) Can I just copy/paste these and simply change the value part?
<Metadata>
<Storage FormatID="{56A3372E-CE9C-11D2-9F0E-006097C686F6}">
<Property Name="System.Media.SubTitle" Id="38" Type="VT_LPWSTR" TypeId="31">
<Value>Part_of-Song</Value>
</Property>
</Storage>
<Storage Description="SummaryInformation" FormatID="{F29F85E0-4FF9-1068-AB91-08002B27B3D9}">
<Property Name="System.Title" Id="2" Type="VT_LPWSTR" TypeId="31">
<Value>FirstTier</Value>
</Property>
</Storage>
</Metadata>
The property data that File Meta works with is all defined by Windows. For an overview, see Windows Property System at https://msdn.microsoft.com/en-us/library/windows/desktop/ff728898(v=vs.85).aspx
The System.Media.SubTitle property that you mention is described here: https://msdn.microsoft.com/en-us/library/windows/desktop/bb787414(v=vs.85).aspx
The way that the property identifiers work is that properties are divided into groups, each with a FormatID. Within the group, individual properties are given numeric IDs. The combination of FormatID and numeric ID is unique.
The property system itself is binary. The backup files generated by File Meta are XML serialisations of property system binary data that mirror the binary data structures defined by Windows.
I hope this helps you get where you want to go.
Dijji