C# Class OnlineVideos.VideoInfo

Inheritance: SearchResultItem
Afficher le fichier Open project: offbyoneBB/mp-onlinevideos2

Méthodes publiques

Свойство Type Description
PlaybackOptions string>.Dictionary

Méthodes publiques

Méthode Description
CleanDescriptionAndTitle ( ) : void
CloneForPlaylist ( string videoUrl, bool withPlaybackOptions ) : VideoInfo
CreateMatroskaXmlTag ( string niceTitle ) : string

Create a Matroska Xml Tag (http://www.matroska.org/technical/specs/tagging/index.html) for the Video. With Title, Description and Airdate.

GetExtendedProperties ( ) : string>.Dictionary
GetPlaybackOptionUrl ( string option ) : string

Can be overriden to further resolve the urls of a playbackoption. By default it only returns the url for the option given as parameter.

GetPreferredUrl ( bool first ) : string

Returns the preferred url from the PlaybackOptions Also deletes PlaybackOptions if not needed

ToString ( ) : string
VideoInfo ( ) : System.Collections.Generic

Method Details

CleanDescriptionAndTitle() public méthode

public CleanDescriptionAndTitle ( ) : void
Résultat void

CloneForPlaylist() public méthode

public CloneForPlaylist ( string videoUrl, bool withPlaybackOptions ) : VideoInfo
videoUrl string
withPlaybackOptions bool
Résultat VideoInfo

CreateMatroskaXmlTag() public méthode

Create a Matroska Xml Tag (http://www.matroska.org/technical/specs/tagging/index.html) for the Video. With Title, Description and Airdate.
public CreateMatroskaXmlTag ( string niceTitle ) : string
niceTitle string
Résultat string

GetExtendedProperties() public méthode

public GetExtendedProperties ( ) : string>.Dictionary
Résultat string>.Dictionary

GetPlaybackOptionUrl() public méthode

Can be overriden to further resolve the urls of a playbackoption. By default it only returns the url for the option given as parameter.
public GetPlaybackOptionUrl ( string option ) : string
option string key from the to get a playback url for
Résultat string

GetPreferredUrl() public méthode

Returns the preferred url from the PlaybackOptions Also deletes PlaybackOptions if not needed
public GetPreferredUrl ( bool first ) : string
first bool true if first one is preferred, false returns the last one
Résultat string

ToString() public méthode

public ToString ( ) : string
Résultat string

VideoInfo() public méthode

public VideoInfo ( ) : System.Collections.Generic
Résultat System.Collections.Generic

Property Details

PlaybackOptions public_oe property

public Dictionary PlaybackOptions
Résultat string>.Dictionary