C# 클래스 OnlineVideos.MediaPortal1.GUIOnlineVideos

파일 보기 프로젝트 열기: offbyoneBB/mp-onlinevideos2 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
currentView GUIFacadeControl.Layout
suggestedView GUIFacadeControl.Layout?

Private Properties

프로퍼티 타입 설명
AddFavoritesAndDownloadsSitesToFacade void
CleanExpression string
ContextKeywordSelection void
DisplayCategories void
DisplayCategories_NextPage void
DisplayDetails void
DisplayGroups void
DisplayPlaybackOptions bool
DisplaySites void
DisplayUnableToPlayDialog void
DisplayVideos_Category void
DisplayVideos_Filter void
DisplayVideos_NextPage void
Display_SearchResults void
FilterOut bool
GetUserInputString bool
HideAndDisable void
HideFilterButtons void
HideSearchButtons void
ISetupForm bool
ISetupForm bool
ISetupForm int
ISetupForm string
IShowPlugin bool
OnDownloadFileCompleted void
PlayAll void
Play_Step1 void
Play_Step2 void
Play_Step3 void
Play_Step6 void
ResetSelectedSite void
SaveSubtitles void
SaveVideo_Step1 void
SaveVideo_Step2 void
SaveVideo_Step3 void
SetCategoriesToFacade void
SetGuiProperties_ExtendedVideoInfo void
SetGuiProperties_PlayingVideo void
SetSearchResultItemsToFacade void
SetVideosToFacade bool
SetVideosToInfoList void
ShowAndEnable void
ShowCategoryButton void
ShowFilterButtons void
ShowFullScreenWindowHandler bool
ShowOrderButtons void
ShowPreviousMenu void
ShowSearchButtons void
ToggleFacadeViewMode void
UpdateViewState void

공개 메소드들

메소드 설명
DeInit ( ) : void

Called when MediaPortal is closed.

FilterCurrentFacadeItems ( ) : void
GUIWindowManager_OnNewAction ( MediaPortal.GUI.Library.Action action ) : void
GUIWindowManager_OnThreadMessageHandler ( object sender, GUIMessage message ) : void
GetModuleName ( ) : string
HandleCustomContextMenuEntry ( Sites currentEntry, Category aCategory, VideoInfo aVideo ) : void
ISetupForm ( ) : void

Show Plugin Configuration Dialog.

Init ( ) : bool
OnAction ( MediaPortal.GUI.Library.Action action ) : void
OnItemSelected ( GUIListItem item, GUIControl parent ) : void
OnMessage ( GUIMessage message ) : bool
PlayNextPlaylistItem ( ) : void
Play_Step4 ( PlayListItem playItem, string lsUrl, bool goFullScreen ) : void
Play_Step5 ( PlayListItem playItem, string lsUrl, bool goFullScreen, OnlineVideos factory, bool factoryPrepareResult, bool showMessage ) : void
ResetExtendedGuiProperties ( string prefix ) : void

Clears all known set extended property values

ResetToFirstView ( ) : void
SetExtendedGuiProperty ( string key, string value ) : void

Set an extended property in the GUIPropertyManager

TrackPlayback ( ) : void
g_Player_PlayBackEnded ( g_Player type, string filename ) : void
g_Player_PlayBackStopped ( g_Player type, int stoptime, string filename ) : void

보호된 메소드들

메소드 설명
OnClicked ( int controlId, GUIControl control, MediaPortal.GUI.Library.Action actionType ) : void
OnPageDestroy ( int newWindowId ) : void
OnPageLoad ( ) : void
OnShowContextMenu ( ) : void
SetFacadeViewMode ( ) : void

비공개 메소드들

메소드 설명
AddFavoritesAndDownloadsSitesToFacade ( ) : void
CleanExpression ( string expression ) : string
ContextKeywordSelection ( List searchexpressions ) : void
DisplayCategories ( Category parentCategory, bool diveDownOrUpIfSingle = null ) : void
DisplayCategories_NextPage ( NextPageCategory cat ) : void
DisplayDetails ( ) : void
DisplayGroups ( ) : void
DisplayPlaybackOptions ( System.VideoInfo videoInfo, string &defaultUrl, bool skipDialog ) : bool

Displays a modal dialog, with a list of the PlaybackOptions to the user, only if PlaybackOptions holds more than one entry.

DisplaySites ( ) : void
DisplayUnableToPlayDialog ( ) : void
DisplayVideos_Category ( Category category, bool displayCategoriesOnError ) : void
DisplayVideos_Filter ( ) : void
DisplayVideos_NextPage ( ) : void
Display_SearchResults ( string query = null ) : void
FilterOut ( string fsStr ) : bool
GetUserInputString ( string &sString, bool password ) : bool
HideAndDisable ( int iControlId ) : void
HideFilterButtons ( ) : void
HideSearchButtons ( ) : void
ISetupForm ( ) : bool
ISetupForm ( string &strButtonText, string &strButtonImage, string &strButtonImageFocus, string &strPictureImage ) : bool
ISetupForm ( ) : int
ISetupForm ( ) : string
IShowPlugin ( ) : bool
OnDownloadFileCompleted ( DownloadList saveItems, Exception error ) : void
PlayAll ( bool random = false, VideoInfo startWith = null ) : void
Play_Step1 ( PlayListItem playItem, bool goFullScreen, bool skipPlaybackOptionsDialog = false ) : void
Play_Step2 ( PlayListItem playItem, List loUrlList, bool goFullScreen, bool skipPlaybackOptionsDialog ) : void
Play_Step3 ( PlayListItem playItem, List loUrlList, bool goFullScreen, bool skipPlaybackOptionsDialog ) : void
Play_Step6 ( PlayListItem playItem, string lsUrl, OnlineVideos factory ) : void
ResetSelectedSite ( ) : void
SaveSubtitles ( VideoInfo video, string destinationFileName ) : void
SaveVideo_Step1 ( DownloadList saveItems, bool enque = false ) : void

SaveVideo_Step2 ( DownloadList saveItems, List loUrlList, bool enque ) : void
SaveVideo_Step3 ( DownloadList saveItems, string url, bool enque ) : void
SetCategoriesToFacade ( Category parentCategory, IList categories, bool diveDownOrUpIfSingle, bool append = false ) : void
SetGuiProperties_ExtendedVideoInfo ( VideoInfo videoInfo, bool DetailsItem ) : void

Processes extended properties which might be available if the VideoInfo.Other object is using the IVideoDetails interface

SetGuiProperties_PlayingVideo ( PlayListItem playItem ) : void
SetSearchResultItemsToFacade ( List resultList, VideosMode mode = VideosMode.Search, string categoryName = "" ) : void
SetVideosToFacade ( List videos, VideosMode mode, bool append = false ) : bool
SetVideosToInfoList ( List videos ) : void
ShowAndEnable ( int iControlId ) : void
ShowCategoryButton ( ) : void
ShowFilterButtons ( ) : void
ShowFullScreenWindowHandler ( ) : bool

This function replaces g_player.ShowFullScreenWindowVideo

ShowOrderButtons ( ) : void
ShowPreviousMenu ( ) : void
ShowSearchButtons ( ) : void
ToggleFacadeViewMode ( ) : void
UpdateViewState ( ) : void

메소드 상세

DeInit() 공개 메소드

Called when MediaPortal is closed.
public DeInit ( ) : void
리턴 void

FilterCurrentFacadeItems() 공개 메소드

public FilterCurrentFacadeItems ( ) : void
리턴 void

GUIWindowManager_OnNewAction() 공개 메소드

public GUIWindowManager_OnNewAction ( MediaPortal.GUI.Library.Action action ) : void
action MediaPortal.GUI.Library.Action
리턴 void

GUIWindowManager_OnThreadMessageHandler() 공개 메소드

public GUIWindowManager_OnThreadMessageHandler ( object sender, GUIMessage message ) : void
sender object
message MediaPortal.GUI.Library.GUIMessage
리턴 void

GetModuleName() 공개 메소드

public GetModuleName ( ) : string
리턴 string

HandleCustomContextMenuEntry() 공개 메소드

public HandleCustomContextMenuEntry ( Sites currentEntry, Category aCategory, VideoInfo aVideo ) : void
currentEntry Sites
aCategory Category
aVideo VideoInfo
리턴 void

ISetupForm() 공개 메소드

Show Plugin Configuration Dialog.
public ISetupForm ( ) : void
리턴 void

Init() 공개 메소드

public Init ( ) : bool
리턴 bool

OnAction() 공개 메소드

public OnAction ( MediaPortal.GUI.Library.Action action ) : void
action MediaPortal.GUI.Library.Action
리턴 void

OnClicked() 보호된 메소드

protected OnClicked ( int controlId, GUIControl control, MediaPortal.GUI.Library.Action actionType ) : void
controlId int
control GUIControl
actionType MediaPortal.GUI.Library.Action
리턴 void

OnItemSelected() 공개 메소드

public OnItemSelected ( GUIListItem item, GUIControl parent ) : void
item GUIListItem
parent GUIControl
리턴 void

OnMessage() 공개 메소드

public OnMessage ( GUIMessage message ) : bool
message GUIMessage
리턴 bool

OnPageDestroy() 보호된 메소드

protected OnPageDestroy ( int newWindowId ) : void
newWindowId int
리턴 void

OnPageLoad() 보호된 메소드

protected OnPageLoad ( ) : void
리턴 void

OnShowContextMenu() 보호된 메소드

protected OnShowContextMenu ( ) : void
리턴 void

PlayNextPlaylistItem() 공개 메소드

public PlayNextPlaylistItem ( ) : void
리턴 void

Play_Step4() 공개 메소드

public Play_Step4 ( PlayListItem playItem, string lsUrl, bool goFullScreen ) : void
playItem PlayListItem
lsUrl string
goFullScreen bool
리턴 void

Play_Step5() 공개 메소드

public Play_Step5 ( PlayListItem playItem, string lsUrl, bool goFullScreen, OnlineVideos factory, bool factoryPrepareResult, bool showMessage ) : void
playItem PlayListItem
lsUrl string
goFullScreen bool
factory OnlineVideos
factoryPrepareResult bool
showMessage bool
리턴 void

ResetExtendedGuiProperties() 공개 메소드

Clears all known set extended property values
public ResetExtendedGuiProperties ( string prefix ) : void
prefix string prefix
리턴 void

ResetToFirstView() 공개 메소드

public ResetToFirstView ( ) : void
리턴 void

SetExtendedGuiProperty() 공개 메소드

Set an extended property in the GUIPropertyManager
public SetExtendedGuiProperty ( string key, string value ) : void
key string
value string
리턴 void

SetFacadeViewMode() 보호된 메소드

protected SetFacadeViewMode ( ) : void
리턴 void

TrackPlayback() 공개 메소드

public TrackPlayback ( ) : void
리턴 void

g_Player_PlayBackEnded() 공개 메소드

public g_Player_PlayBackEnded ( g_Player type, string filename ) : void
type g_Player
filename string
리턴 void

g_Player_PlayBackStopped() 공개 메소드

public g_Player_PlayBackStopped ( g_Player type, int stoptime, string filename ) : void
type g_Player
stoptime int
filename string
리턴 void

프로퍼티 상세

currentView 보호되어 있는 프로퍼티

protected GUIFacadeControl.Layout currentView
리턴 GUIFacadeControl.Layout

suggestedView 보호되어 있는 프로퍼티

protected GUIFacadeControl.Layout? suggestedView
리턴 GUIFacadeControl.Layout?