C# Класс MediaPortal.Video.Database.IMDBMovie

@ 23.09.2004 by FlipGer new attribute string m_strDatabase, holds for example IMDB or OFDB
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

FetchMovieNfo() публичный статический Метод

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
Результат void

IMDBMovie() публичный Метод

public IMDBMovie ( ) : System
Результат System

Reset() публичный Метод

public Reset ( ) : void
Результат void

Reset() публичный Метод

public Reset ( bool resetId ) : void
resetId bool
Результат void

ResetMovieProperties() публичный статический Метод

public static ResetMovieProperties ( ) : void
Результат void

SetDurationProperty() публичный Метод

public SetDurationProperty ( int movieId ) : void
movieId int
Результат void

SetMediaInfoProperties() публичный Метод

public SetMediaInfoProperties ( string file, bool refresh ) : void
file string
refresh bool
Результат void

SetMovieData() публичный статический Метод

Use only in share view
public static SetMovieData ( GUIListItem item ) : void
item MediaPortal.GUI.Library.GUIListItem
Результат void

SetMovieProperties() публичный статический Метод

Use only in share view
public static SetMovieProperties ( GUIListItem item ) : void
item MediaPortal.GUI.Library.GUIListItem
Результат void

SetPlayProperties() публичный Метод

public SetPlayProperties ( ) : void
Результат void

SetPlayProperties() публичный Метод

public SetPlayProperties ( bool useNfo ) : void
useNfo bool
Результат void

SetProperties() публичный Метод

public SetProperties ( bool isFolder, string file ) : void
isFolder bool
file string
Результат void