ILMMetaInfo Interface

This is the interface for the LEAD Meta Info Object.

 

Data types

typedef [v1_enum] enum LMMetaInfo_Search
 {
    LMMetaInfo_Search_Text = 0x00000001,
    LMMetaInfo_Search_MatchDuration = 0x00000002,
    LMMetaInfo_Search_MatchYear = 0x00000004,
    LMMetaInfo_Search_MatchType = 0x00000008,
    LMMetaInfo_Search_UseParentPath = 0x00000010,
    LMMetaInfo_Search_BestMatchOnly = 0x00000020,
} LMMetaInfo_Search;

Describes possible search options.

 

Constant

Description

LMMetaInfo_Search_Text

specify that the input search is a text and not a file name

LMMetaInfo_Search_MatchDuration

strongly match for duration

LMMetaInfo_Search_MatchYear

strongly match for year of production

LMMetaInfo_Search_MatchType

strongly match for type (genre)

LMMetaInfo_Search_UseParentPath

parses parent path as well

LMMetaInfo_Search_BestMatchOnly

will only include results with higher accuracy

 

Interface Methods:

HRESULT Search([in] BSTR path, [in] long flags);

 

Parameters

path

string that contains the search path, examples can be:

 

 

    "METADATA/MDR-DVD/dvdTitle"
    "METADATA/MDR-DVD/director"
    "METADATA/MDR-DVD/leadPerformer"
    "METADATA/MDR-DVD/genre"
    "METADATA/MDR-DVD/studio"
    "METADATA/MDR-DVD/releaseDate"
    "METADATA/MDR-DVD/dataProvider"

flags

a combination of option flags, see LMMetaInfo_Search for more information

Description

 

Searches the Microsoft DVD Title Info database for DVD meta information.

The search can be performed on a File or Text string, using the Flags enumeration values to indicate File or Text mode, as well as other matching options for Duration, Year, Type (DVD, Bluray, etc), parent path (for 8.3 filenames with a descriptive parent folder name) and Best Match Only (to return only the best match).

 

Interface Properties

 

Type

Name

Description

ILMMetaInfoTitles

Titles

Read Only. Gets the resulting titles returned by a prior call to the Search method