[No longer actively maintained] Mainly used for Discord js Bots to play music.
YouTubeVideo
, which will be undefined for normal or livestream videos and the premiere date if it is a premiere/upcoming videostream
and stream_from_info
function throws error if video is premier.const videos = await (await playlist_info('url')).all_videos();
const filtered = videos.filter(v => !v.upcoming);
decipher_info
function.