C# Class MediaPortal.Plugins.MovingPictures.MainUI.MoviePlayer

显示文件 Open project: damienhaynes/moving-pictures Class Usage Examples

Private Properties

Property Type Description
ClearPlayProperties void
LaunchHDPlayer void
OnHDPlayerExited void
PromptUserToResume ResumeDialogResult
SetPlayProperties void
UpdatePlaybackInfo void
clearMovieResumeState void
getCustomIntroFile string
handleCustomIntroEnded bool
onExternalExit void
onMediaStarted void
onMovieEnded void
onMovieStopped void
onPlayBackEnded void
onPlayBackStoppedOrChanged void
onPlaybackStarted void
onStartExternal void
onStopExternal void
playCustomIntro bool
playFile void
playMovie void
resetPlayer void
updateMediaDuration void
updateMovieResumeState void
updateMovieWatchedCounter void

Public Methods

Method Description
MoviePlayer ( MovingPicturesGUI gui ) : System
Play ( DBMovieInfo movie ) : void
Play ( DBMovieInfo movie, int part ) : void
Stop ( ) : void
playFile ( string media ) : void

Private Methods

Method Description
ClearPlayProperties ( ) : void
LaunchHDPlayer ( string videoPath ) : void
OnHDPlayerExited ( object obj, EventArgs e ) : void
PromptUserToResume ( DBMovieInfo movie ) : ResumeDialogResult
SetPlayProperties ( ) : void

Publish all video specific properties to skin http://wiki.team-mediaportal.com/1_MEDIAPORTAL_1/18_Contribute/7_Skins/Skin_Architecture/Current_File_Tags

UpdatePlaybackInfo ( ) : void
clearMovieResumeState ( DBMovieInfo movie ) : void
getCustomIntroFile ( string path ) : string
handleCustomIntroEnded ( ) : bool
onExternalExit ( ) : void
onMediaStarted ( DBLocalMedia localMedia ) : void
onMovieEnded ( DBMovieInfo movie ) : void
onMovieStopped ( DBMovieInfo movie ) : void
onPlayBackEnded ( g_Player type, string filename ) : void
onPlayBackStoppedOrChanged ( g_Player type, int timeMovieStopped, string filename ) : void
onPlaybackStarted ( g_Player type, string filename ) : void
onStartExternal ( Process proc, bool waitForExit ) : void
onStopExternal ( Process proc, bool waitForExit ) : void
playCustomIntro ( ) : bool
playFile ( string media, VideoFormat videoFormat ) : void
playMovie ( DBMovieInfo movie, int requestedPart ) : void
resetPlayer ( ) : void

Resets player variables

updateMediaDuration ( DBLocalMedia localMedia ) : void
updateMovieResumeState ( DBMovieInfo movie, int part, int timePlayed, byte resumeData, int titleBD ) : void
updateMovieWatchedCounter ( DBMovieInfo movie ) : void

Method Details

MoviePlayer() public method

public MoviePlayer ( MovingPicturesGUI gui ) : System
gui MovingPicturesGUI
return System

Play() public method

public Play ( DBMovieInfo movie ) : void
movie MediaPortal.Plugins.MovingPictures.Database.DBMovieInfo
return void

Play() public method

public Play ( DBMovieInfo movie, int part ) : void
movie MediaPortal.Plugins.MovingPictures.Database.DBMovieInfo
part int
return void

Stop() public method

public Stop ( ) : void
return void

playFile() public method

public playFile ( string media ) : void
media string
return void