C# Class OnlineVideos.Subtitles.SubtitleHandler

Helper class to easily incorporate subtitles into a siteutil that supports ITrackingInfo Class needs the SubtitleDownloader http://www.team-mediaportal.com/extensions/movies-videos/subtitledownloader plugin
显示文件 Open project: offbyoneBB/mp-onlinevideos2 Class Usage Examples

Public Methods

Method Description
SetSubtitleText ( System.VideoInfo video, GetTrackingInfo getTrackingInfo, bool threaded = false ) : void
SubtitleHandler ( string className, string languages ) : SubtitleDownloader.Core
WaitForSubtitleCompleted ( ) : void

Private Methods

Method Description
SafeSetSubtitleText ( System.VideoInfo video, ITrackingInfo trackingInfo ) : void
SetSubtitleText ( System.VideoInfo video, GetTrackingInfo getTrackingInfo, Thread &thread ) : void
WaitForSubtitleCompleted ( Thread thread ) : void
setSubtitleText ( System.VideoInfo video, ITrackingInfo it ) : void
tryLoad ( string className ) : bool

Method Details

SetSubtitleText() public method

public SetSubtitleText ( System.VideoInfo video, GetTrackingInfo getTrackingInfo, bool threaded = false ) : void
video System.VideoInfo
getTrackingInfo GetTrackingInfo
threaded bool
return void

SubtitleHandler() public method

public SubtitleHandler ( string className, string languages ) : SubtitleDownloader.Core
className string
languages string
return SubtitleDownloader.Core

WaitForSubtitleCompleted() public method

public WaitForSubtitleCompleted ( ) : void
return void