C# Class SessionDownloader.Downloader

Mostra file Open project: FrankLaVigne/SessionDownloader Class Usage Examples

Public Methods

Method Description
DownloadMedia ( ) : void
Downloader ( string destinationRootPath, string baseUrl, MediaType mediaType = MediaType.Mp4Low, bool titleHasCode = false ) : System

Downloader constuctor class

Private Methods

Method Description
CheckIfFileExists ( string fileName ) : bool
ComputeFileName ( string sessionTitle, string sessionCode ) : string
ComputeFileSizeInMb ( long fileSizeInBytes ) : string
DetermineFileExtension ( ) : string
DownloadAtom ( ) : void
DownloadFiles ( ) : void
Initialize ( ) : void
LoadMediaElementGroup ( System.ServiceModel.Syndication.SyndicationItem item ) : System.Xml.Linq.XElement
ProcessAtomFeed ( ) : void
ScrubSessionTitle ( string sessionTitle ) : string
SetFeedUri ( ) : void

Method Details

DownloadMedia() public method

public DownloadMedia ( ) : void
return void

Downloader() public method

Downloader constuctor class
public Downloader ( string destinationRootPath, string baseUrl, MediaType mediaType = MediaType.Mp4Low, bool titleHasCode = false ) : System
destinationRootPath string Where files should be saved locally
baseUrl string
mediaType MediaType Quality of videos to download. Defaults to Low
titleHasCode bool
return System