mirror of
https://github.com/YuzuZensai/play-dl-test.git
synced 2026-01-31 14:58:05 +00:00
Added deciphering of audio only formats in decipher info.
This commit is contained in:
@@ -63,7 +63,7 @@ export async function stream_from_info(
|
||||
info: InfoData | StreamInfoData,
|
||||
options: StreamOptions = {}
|
||||
): Promise<YouTubeStream> {
|
||||
if (!info.format || info.format.length === 0)
|
||||
if (info.format.length === 0)
|
||||
throw new Error('Upcoming and premiere videos that are not currently live cannot be streamed.');
|
||||
|
||||
const final: any[] = [];
|
||||
|
||||
Reference in New Issue
Block a user