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

Inheritance: MovingPicturesDBTable, IComparable, IAttributeOwner
Mostrar archivo Open project: damienhaynes/moving-pictures Class Usage Examples

Private Properties

Property Type Description
LocalMedia_Changed void
saveImage bool

Public Methods

Method 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

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

Method Details

AddBackdropFromFile() public method

public AddBackdropFromFile ( string filename ) : bool
filename string
return bool

AddBackdropFromURL() public method

public AddBackdropFromURL ( string url ) : ImageLoadResults
url string
return ImageLoadResults

AddBackdropFromURL() public method

public AddBackdropFromURL ( string url, bool ignoreRestrictions ) : ImageLoadResults
url string
ignoreRestrictions bool
return ImageLoadResults

AddCoverFromFile() public method

public AddCoverFromFile ( string filename ) : bool
filename string
return bool

AddCoverFromURL() public method

public AddCoverFromURL ( string url ) : ImageLoadResults
url string
return ImageLoadResults

AddCoverFromURL() public method

public AddCoverFromURL ( string url, bool ignoreRestrictions ) : ImageLoadResults
url string
ignoreRestrictions bool
return ImageLoadResults

AfterDelete() public method

public AfterDelete ( ) : void
return void

Commit() public method

public Commit ( ) : void
return void

CompareTo() public method

public CompareTo ( object obj ) : int
obj object
return int

DBMovieInfo() public method

public DBMovieInfo ( ) : System
return System

DeleteAndIgnore() public method

public DeleteAndIgnore ( ) : void
return void

DeleteCurrentCover() public method

public DeleteCurrentCover ( ) : void
return void

DeleteFiles() public method

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
return bool

GenerateThumbnail() public method

public GenerateThumbnail ( ) : void
return void

Get() public static method

public static Get ( int id ) : DBMovieInfo
id int
return DBMovieInfo

GetAll() public static method

public static GetAll ( ) : List
return List

GetPercentage() public method

Returns percentage watched
public GetPercentage ( int part, int time ) : int
part int part number
time int time in seconds
return int

GetSourceMovieInfo() public method

public GetSourceMovieInfo ( DBSourceInfo source ) : DBSourceMovieInfo
source DBSourceInfo
return DBSourceMovieInfo

GetSourceMovieInfo() public method

public GetSourceMovieInfo ( int scriptID ) : DBSourceMovieInfo
scriptID int
return DBSourceMovieInfo

NextCover() public method

public NextCover ( ) : void
return void

PopulateDateAdded() public method

public PopulateDateAdded ( ) : bool
return bool

PopulateSortBy() public method

public PopulateSortBy ( ) : void
return void

PreviousCover() public method

public PreviousCover ( ) : void
return void

ToString() public method

public ToString ( ) : string
return string

Translate() public method

public Translate ( ) : void
return void

Translate() public method

public Translate ( TranslatorLanguage language ) : void
language TranslatorLanguage
return void