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

Specifies that the input search is text and not a filename

LMMetaInfo_Search_MatchDuration

Strongly matches for duration

LMMetaInfo_Search_MatchYear

Strongly matches for year of production

LMMetaInfo_Search_MatchType

Strongly matches for type (genre)

LMMetaInfo_Search_UseParentPath

Parses parent path as well

LMMetaInfo_Search_BestMatchOnly

Include only those results with higher accuracy

Interface Methods:

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

Parameters

path

string that contains the search path, examples are:

"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

Help Version 19.0.2017.10.19
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Filters C API Help