C# Class MediaPortal.Video.Database.IMDBMovie

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

Méthodes publiques

Méthode 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

Méthode 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 méthode

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
Résultat void

IMDBMovie() public méthode

public IMDBMovie ( ) : System
Résultat System

Reset() public méthode

public Reset ( ) : void
Résultat void

Reset() public méthode

public Reset ( bool resetId ) : void
resetId bool
Résultat void

ResetMovieProperties() public static méthode

public static ResetMovieProperties ( ) : void
Résultat void

SetDurationProperty() public méthode

public SetDurationProperty ( int movieId ) : void
movieId int
Résultat void

SetMediaInfoProperties() public méthode

public SetMediaInfoProperties ( string file, bool refresh ) : void
file string
refresh bool
Résultat void

SetMovieData() public static méthode

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

SetMovieProperties() public static méthode

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

SetPlayProperties() public méthode

public SetPlayProperties ( ) : void
Résultat void

SetPlayProperties() public méthode

public SetPlayProperties ( bool useNfo ) : void
useNfo bool
Résultat void

SetProperties() public méthode

public SetProperties ( bool isFolder, string file ) : void
isFolder bool
file string
Résultat void