C# Class OnlineVideos.VideoInfo

Inheritance: SearchResultItem
ファイルを表示 Open project: offbyoneBB/mp-onlinevideos2

Public Properties

Property Type Description
PlaybackOptions string>.Dictionary

Public Methods

Method 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 method

public CleanDescriptionAndTitle ( ) : void
return void

CloneForPlaylist() public method

public CloneForPlaylist ( string videoUrl, bool withPlaybackOptions ) : VideoInfo
videoUrl string
withPlaybackOptions bool
return VideoInfo

CreateMatroskaXmlTag() public method

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
return string

GetExtendedProperties() public method

public GetExtendedProperties ( ) : string>.Dictionary
return string>.Dictionary

GetPlaybackOptionUrl() public method

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
return string

GetPreferredUrl() public method

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
return string

ToString() public method

public ToString ( ) : string
return string

VideoInfo() public method

public VideoInfo ( ) : System.Collections.Generic
return System.Collections.Generic

Property Details

PlaybackOptions public_oe property

public Dictionary PlaybackOptions
return string>.Dictionary