Property | Type | Description | |
---|---|---|---|
DownloadedExtensions | string[] |
Method | Description | |
---|---|---|
DownloadVideoAsync ( |
Downloads specified video from YouTube.
|
|
DownloadVideoAsync ( |
Downloads specified video from YouTube.
|
|
GetAudioExtension ( AudioType audio ) : string |
Returns the file extension for specified audio type.
|
|
GetCodecExtension ( VideoType video ) : string |
Returns the file extension for specified video codec type. To avoid conflicting file names, the codec extension must be different than the final extension.
|
|
GetDownloadUrlsAsync ( string url ) : Task |
Returns the list of download URLs from YouTube.
|
|
GetFinalExtension ( VideoType video, AudioType audio ) : string |
Returns the file extension for specified video type. To avoid conflicting file names, the codec extension must be different than the final extension.
|
|
GetFinalExtension ( string video, string audio ) : string |
Returns the file extension for specified video type. To avoid conflicting file names, the codec extension must be different than the final extension.
|
|
IsDownloadDuplicate ( |
||
SelectBestAudio ( IEnumerable |
Selects OGG (Vorbis) audio if available, otherwise AAC.
|
|
SelectBestFormat ( IEnumerable |
Returns the best format from the list in this order of availability: WebM, Mp4 or Flash. Mp4 will be chosen if WebM is over 35% smaller.
|
Method | Description | |
---|---|---|
DownloadCanceled ( Business.DownloadItem downloadInfo ) : void | ||
DownloadCompletedAsync ( Business.DownloadItem downloadInfo ) : Task | ||
DownloadFilesAsync ( Business.DownloadItem downloadInfo, EventHandler |
Downloads the specified list of files.
|
|
DownloadVideoAsync ( Business.DownloadItem downloadInfo, Business.DownloadItem fileInfo, EventHandler |
||
FileHasContent ( string fileName ) : bool |
Returns whether specified file exists and contains data (at least 500KB).
|
|
RaiseCallback ( Business.DownloadItem downloadInfo ) : void | ||
StartDownloadAsync ( Business.DownloadItem downloadInfo ) : Task | ||
StartNextDownloadAsync ( ) : Task |
public DownloadVideoAsync ( |
||
video | The video to download. | |
queuePos | int | The position in the queue to auto-play, or -1. |
callback | EventHandler |
The method to call once download is completed. |
return | Task |
public DownloadVideoAsync ( |
||
video | The video to download. | |
queuePos | int | The position in the queue to auto-play, or -1. |
upgradeAudio | bool | If true, only the audio will be downloaded and it will be merged with the local video file. |
callback | EventHandler |
The method to call once download is completed. |
return | Task |
public GetAudioExtension ( AudioType audio ) : string | ||
audio | AudioType | The audio type to get file extension for. |
return | string |
public GetCodecExtension ( VideoType video ) : string | ||
video | VideoType | The video type to get file extension for. |
return | string |
public static GetDownloadUrlsAsync ( string url ) : Task |
||
url | string | The YouTube video URL to query. |
return | Task |
public GetFinalExtension ( VideoType video, AudioType audio ) : string | ||
video | VideoType | The video type to get file extension for. |
audio | AudioType | |
return | string |
public GetFinalExtension ( string video, string audio ) : string | ||
video | string | The video type to get file extension for. |
audio | string | |
return | string |
public IsDownloadDuplicate ( |
||
request | ||
return | bool |
public static SelectBestAudio ( IEnumerable |
||
list | IEnumerable |
The list of available audios. |
return | VideoInfo |
public static SelectBestFormat ( IEnumerable |
||
list | IEnumerable |
The list of videos to chose from. |
return |