C# Class OnlineVideos.Sites.JSurf.ConnectorImplementations.AmazonPrime.Connectors.AmazonPrimeInformationConnector

Inheritance: IInformationConnector
Mostrar archivo Open project: offbyoneBB/mp-onlinevideos2

Public Methods

Method Description
AmazonPrimeInformationConnector ( SiteUtilBase siteUtil ) : OnlineVideos.Sites.JSurf.Interfaces
DoSearch ( string query ) : List
GetInputStreamProperties ( System.VideoInfo video, string &streamUrl, string &licenseUrl, string>.Dictionary &additionalTags ) : bool
LoadCategories ( Category parentCategory = null ) : List

Load the categories

LoadVideos ( Category parentCategory ) : List

Load the videos using either the parentCategory, or the next page url (if parentCategory is null)

getMultipleVideoUrls ( System.VideoInfo video, bool inPlaylist = false ) : List
getPlaybackOptions ( System.VideoInfo video ) : string>.Dictionary

Protected Methods

Method Description
DoLogin ( ) : void
TryAdd ( List categories, Category category, string url ) : void
TryInsert ( List categories, Category category, string url ) : void

Method Details

AmazonPrimeInformationConnector() public method

public AmazonPrimeInformationConnector ( SiteUtilBase siteUtil ) : OnlineVideos.Sites.JSurf.Interfaces
siteUtil SiteUtilBase
return OnlineVideos.Sites.JSurf.Interfaces

DoLogin() protected method

protected DoLogin ( ) : void
return void

DoSearch() public method

public DoSearch ( string query ) : List
query string
return List

GetInputStreamProperties() public method

public GetInputStreamProperties ( System.VideoInfo video, string &streamUrl, string &licenseUrl, string>.Dictionary &additionalTags ) : bool
video System.VideoInfo
streamUrl string
licenseUrl string
additionalTags string>.Dictionary
return bool

LoadCategories() public method

Load the categories
public LoadCategories ( Category parentCategory = null ) : List
parentCategory Category
return List

LoadVideos() public method

Load the videos using either the parentCategory, or the next page url (if parentCategory is null)
public LoadVideos ( Category parentCategory ) : List
parentCategory Category
return List

TryAdd() protected static method

protected static TryAdd ( List categories, Category category, string url ) : void
categories List
category Category
url string
return void

TryInsert() protected static method

protected static TryInsert ( List categories, Category category, string url ) : void
categories List
category Category
url string
return void

getMultipleVideoUrls() public method

public getMultipleVideoUrls ( System.VideoInfo video, bool inPlaylist = false ) : List
video System.VideoInfo
inPlaylist bool
return List

getPlaybackOptions() public method

public getPlaybackOptions ( System.VideoInfo video ) : string>.Dictionary
video System.VideoInfo
return string>.Dictionary