C# Class MediaPortal.Plugins.MovingPictures.Database.DBMovieInfo

Inheritance: MovingPicturesDBTable, IComparable, IAttributeOwner
Afficher le fichier Open project: damienhaynes/moving-pictures Class Usage Examples

Private Properties

Свойство Type Description
LocalMedia_Changed void
saveImage bool

Méthodes publiques

Méthode Description
AddBackdropFromFile ( string filename ) : bool
AddBackdropFromURL ( string url ) : ImageLoadResults
AddBackdropFromURL ( string url, bool ignoreRestrictions ) : ImageLoadResults
AddCoverFromFile ( string filename ) : bool
AddCoverFromURL ( string url ) : ImageLoadResults
AddCoverFromURL ( string url, bool ignoreRestrictions ) : ImageLoadResults
AfterDelete ( ) : void
Commit ( ) : void
CompareTo ( object obj ) : int
DBMovieInfo ( ) : System
DeleteAndIgnore ( ) : void
DeleteCurrentCover ( ) : void
DeleteFiles ( ) : bool

Deletes all of the video files associated with this movie from disk If the movie is stored in a dedicated folder, this will delete the folder.

GenerateThumbnail ( ) : void
Get ( int id ) : DBMovieInfo
GetAll ( ) : List
GetPercentage ( int part, int time ) : int

Returns percentage watched

GetSourceMovieInfo ( DBSourceInfo source ) : DBSourceMovieInfo
GetSourceMovieInfo ( int scriptID ) : DBSourceMovieInfo
NextCover ( ) : void
PopulateDateAdded ( ) : bool
PopulateSortBy ( ) : void
PreviousCover ( ) : void
ToString ( ) : string
Translate ( ) : void
Translate ( TranslatorLanguage language ) : void

Private Methods

Méthode Description
LocalMedia_Changed ( object sender, EventArgs e ) : void
saveImage ( string filename, Image image ) : bool

Method Details

AddBackdropFromFile() public méthode

public AddBackdropFromFile ( string filename ) : bool
filename string
Résultat bool

AddBackdropFromURL() public méthode

public AddBackdropFromURL ( string url ) : ImageLoadResults
url string
Résultat ImageLoadResults

AddBackdropFromURL() public méthode

public AddBackdropFromURL ( string url, bool ignoreRestrictions ) : ImageLoadResults
url string
ignoreRestrictions bool
Résultat ImageLoadResults

AddCoverFromFile() public méthode

public AddCoverFromFile ( string filename ) : bool
filename string
Résultat bool

AddCoverFromURL() public méthode

public AddCoverFromURL ( string url ) : ImageLoadResults
url string
Résultat ImageLoadResults

AddCoverFromURL() public méthode

public AddCoverFromURL ( string url, bool ignoreRestrictions ) : ImageLoadResults
url string
ignoreRestrictions bool
Résultat ImageLoadResults

AfterDelete() public méthode

public AfterDelete ( ) : void
Résultat void

Commit() public méthode

public Commit ( ) : void
Résultat void

CompareTo() public méthode

public CompareTo ( object obj ) : int
obj object
Résultat int

DBMovieInfo() public méthode

public DBMovieInfo ( ) : System
Résultat System

DeleteAndIgnore() public méthode

public DeleteAndIgnore ( ) : void
Résultat void

DeleteCurrentCover() public méthode

public DeleteCurrentCover ( ) : void
Résultat void

DeleteFiles() public méthode

Deletes all of the video files associated with this movie from disk If the movie is stored in a dedicated folder, this will delete the folder.
public DeleteFiles ( ) : bool
Résultat bool

GenerateThumbnail() public méthode

public GenerateThumbnail ( ) : void
Résultat void

Get() public static méthode

public static Get ( int id ) : DBMovieInfo
id int
Résultat DBMovieInfo

GetAll() public static méthode

public static GetAll ( ) : List
Résultat List

GetPercentage() public méthode

Returns percentage watched
public GetPercentage ( int part, int time ) : int
part int part number
time int time in seconds
Résultat int

GetSourceMovieInfo() public méthode

public GetSourceMovieInfo ( DBSourceInfo source ) : DBSourceMovieInfo
source DBSourceInfo
Résultat DBSourceMovieInfo

GetSourceMovieInfo() public méthode

public GetSourceMovieInfo ( int scriptID ) : DBSourceMovieInfo
scriptID int
Résultat DBSourceMovieInfo

NextCover() public méthode

public NextCover ( ) : void
Résultat void

PopulateDateAdded() public méthode

public PopulateDateAdded ( ) : bool
Résultat bool

PopulateSortBy() public méthode

public PopulateSortBy ( ) : void
Résultat void

PreviousCover() public méthode

public PreviousCover ( ) : void
Résultat void

ToString() public méthode

public ToString ( ) : string
Résultat string

Translate() public méthode

public Translate ( ) : void
Résultat void

Translate() public méthode

public Translate ( TranslatorLanguage language ) : void
language TranslatorLanguage
Résultat void