YoutubeDL

Members

Static functions

download
DCAFile download(string url)

Downloads and encodes a given URL into a playable format. This function spawns a new worker thread to download and encode a given youtube-dl compatabile URL.

getInfo
VibeJSON[] getInfo(string url)

Returns a VibeJSON object with information for a given URL.

getInfoAsync
void getInfoAsync(string url, void delegate(VibeJSON) cb, void delegate(size_t) complete = null)

Loads songs from a given youtube-dl compatible URL, calling a delegate with each song. This function is useful for downloading large playlists where waiting for all the songs to be processed takes a long time. When downloading is completed, the delegate complete will be called with the total number of songs downloaded/pasred.

Meta