C# Class MediaPortal.Video.Database.IMDBMovie

@ 23.09.2004 by FlipGer new attribute string m_strDatabase, holds for example IMDB or OFDB
Show file Open project: MediaPortal/MediaPortal-1 Class Usage Examples

Public Methods

Method Description
FetchMovieNfo ( string path, string filename, IMDBMovie &movie ) : void

Check and set movie info data from nfo file (must be in the same directory where is videofile and must have the same name as video file. Exceptions are DVD and BluRay folders where nfo file should have name as main folder

IMDBMovie ( ) : System
Reset ( ) : void
Reset ( bool resetId ) : void
ResetMovieProperties ( ) : void
SetDurationProperty ( int movieId ) : void
SetMediaInfoProperties ( string file, bool refresh ) : void
SetMovieData ( GUIListItem item ) : void

Use only in share view

SetMovieProperties ( GUIListItem item ) : void

Use only in share view

SetPlayProperties ( ) : void
SetPlayProperties ( bool useNfo ) : void
SetProperties ( bool isFolder, string file ) : void

Private Methods

Method Description
FetchMatroskaInfo ( string path, bool pathIsDirectory, IMDBMovie &movie ) : void

Use for xml recordings

GetStrThumb ( ) : string
GetUserFanart ( GUIListItem item, IMDBMovie &info ) : void
ResetMediaInfoProperties ( ) : void
SetMediaInfoProperties ( string file ) : void
SetMovieIDProperty ( string file, bool isFolder ) : void
SetProperties ( bool isFolder ) : void

Method Details

FetchMovieNfo() public static method

Check and set movie info data from nfo file (must be in the same directory where is videofile and must have the same name as video file. Exceptions are DVD and BluRay folders where nfo file should have name as main folder
public static FetchMovieNfo ( string path, string filename, IMDBMovie &movie ) : void
path string path is checked only for DVD/BD folders, in case of single video files it is the same as filename
filename string filename with full path
movie IMDBMovie
return void

IMDBMovie() public method

public IMDBMovie ( ) : System
return System

Reset() public method

public Reset ( ) : void
return void

Reset() public method

public Reset ( bool resetId ) : void
resetId bool
return void

ResetMovieProperties() public static method

public static ResetMovieProperties ( ) : void
return void

SetDurationProperty() public method

public SetDurationProperty ( int movieId ) : void
movieId int
return void

SetMediaInfoProperties() public method

public SetMediaInfoProperties ( string file, bool refresh ) : void
file string
refresh bool
return void

SetMovieData() public static method

Use only in share view
public static SetMovieData ( GUIListItem item ) : void
item MediaPortal.GUI.Library.GUIListItem
return void

SetMovieProperties() public static method

Use only in share view
public static SetMovieProperties ( GUIListItem item ) : void
item MediaPortal.GUI.Library.GUIListItem
return void

SetPlayProperties() public method

public SetPlayProperties ( ) : void
return void

SetPlayProperties() public method

public SetPlayProperties ( bool useNfo ) : void
useNfo bool
return void

SetProperties() public method

public SetProperties ( bool isFolder, string file ) : void
isFolder bool
file string
return void