C# Class OnlineVideos.MediaPortal2.VideoViewModel

Inheritance: MediaPortal.UI.Presentation.DataObjects.ListItem
Afficher le fichier Open project: offbyoneBB/mp-onlinevideos2 Class Usage Examples

Protected Properties

Свойство Type Description
_airdateProperty MediaPortal.Common.General.AbstractProperty
_contextMenuEntriesProperty MediaPortal.Common.General.AbstractProperty
_descriptionProperty MediaPortal.Common.General.AbstractProperty
_eventDelegator OnlineVideos.CrossDomain.PropertyChangedDelegator
_lengthProperty MediaPortal.Common.General.AbstractProperty
_thumbnailImageProperty MediaPortal.Common.General.AbstractProperty
_title2Property MediaPortal.Common.General.AbstractProperty
_titleProperty MediaPortal.Common.General.AbstractProperty

Méthodes publiques

Méthode Description
ChoosePlaybackOptions ( string defaultUrl, Action resultHandler, bool skipDialog = false ) : void
Play ( List urls ) : void
VideoViewModel ( System.VideoInfo videoInfo, Category category, SiteSettings siteSettings, bool isDetailsVideo ) : System
VideoViewModel ( string title, string thumbImage ) : System

Méthodes protégées

Méthode Description
DownloadConcurrent ( ) : void
DownloadQueued ( ) : void
ExecuteCustomContextMenuEntry ( Sites entry ) : void
HandleCustomContextMenuEntry ( Sites entry ) : void
SelectPlaybackOption ( MediaPortal.UI.Presentation.DataObjects.ListItem option ) : void

Private Methods

Méthode Description
CreateContextMenuEntries ( ) : ItemsList
OnDownloadFileCompleted ( OnlineVideos.Downloading.DownloadList saveItems, Exception error ) : void
SaveSubtitles ( System.VideoInfo video, string destinationFileName ) : void
SaveVideo_Step1 ( OnlineVideos.Downloading.DownloadList saveItems, bool enque = false ) : void
SaveVideo_Step2 ( OnlineVideos.Downloading.DownloadList saveItems, List urls, bool enque ) : void
SaveVideo_Step3 ( OnlineVideos.Downloading.DownloadList saveItems, string url, bool enque ) : void

Method Details

ChoosePlaybackOptions() public méthode

public ChoosePlaybackOptions ( string defaultUrl, Action resultHandler, bool skipDialog = false ) : void
defaultUrl string
resultHandler Action
skipDialog bool
Résultat void

DownloadConcurrent() protected méthode

protected DownloadConcurrent ( ) : void
Résultat void

DownloadQueued() protected méthode

protected DownloadQueued ( ) : void
Résultat void

ExecuteCustomContextMenuEntry() protected méthode

protected ExecuteCustomContextMenuEntry ( Sites entry ) : void
entry Sites
Résultat void

HandleCustomContextMenuEntry() protected méthode

protected HandleCustomContextMenuEntry ( Sites entry ) : void
entry Sites
Résultat void

Play() public méthode

public Play ( List urls ) : void
urls List
Résultat void

SelectPlaybackOption() protected méthode

protected SelectPlaybackOption ( MediaPortal.UI.Presentation.DataObjects.ListItem option ) : void
option MediaPortal.UI.Presentation.DataObjects.ListItem
Résultat void

VideoViewModel() public méthode

public VideoViewModel ( System.VideoInfo videoInfo, Category category, SiteSettings siteSettings, bool isDetailsVideo ) : System
videoInfo System.VideoInfo
category Category
siteSettings SiteSettings
isDetailsVideo bool
Résultat System

VideoViewModel() public méthode

public VideoViewModel ( string title, string thumbImage ) : System
title string
thumbImage string
Résultat System

Property Details

_airdateProperty protected_oe property

protected AbstractProperty,MediaPortal.Common.General _airdateProperty
Résultat MediaPortal.Common.General.AbstractProperty

_contextMenuEntriesProperty protected_oe property

protected AbstractProperty,MediaPortal.Common.General _contextMenuEntriesProperty
Résultat MediaPortal.Common.General.AbstractProperty

_descriptionProperty protected_oe property

protected AbstractProperty,MediaPortal.Common.General _descriptionProperty
Résultat MediaPortal.Common.General.AbstractProperty

_eventDelegator protected_oe property

protected PropertyChangedDelegator,OnlineVideos.CrossDomain _eventDelegator
Résultat OnlineVideos.CrossDomain.PropertyChangedDelegator

_lengthProperty protected_oe property

protected AbstractProperty,MediaPortal.Common.General _lengthProperty
Résultat MediaPortal.Common.General.AbstractProperty

_thumbnailImageProperty protected_oe property

protected AbstractProperty,MediaPortal.Common.General _thumbnailImageProperty
Résultat MediaPortal.Common.General.AbstractProperty

_title2Property protected_oe property

protected AbstractProperty,MediaPortal.Common.General _title2Property
Résultat MediaPortal.Common.General.AbstractProperty

_titleProperty protected_oe property

protected AbstractProperty,MediaPortal.Common.General _titleProperty
Résultat MediaPortal.Common.General.AbstractProperty