Class YoutubeDL

Inherits from

  • Object (base class)

Methods

Name Description
download 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.
downloadWorker
getInfo Returns a VibeJSON object with information for a given URL.
getInfoAsync 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.
infoWorker