Open saeed-Underline opened 3 years ago
can anybody tell me why this is returning the Write EPIPE error ?
const ytdl = require('discord-ytdl-core') stream = ytdl('https://www.youtube.com/watch?v=CqsgCsU8SOA',{ headers: { quality: 'highestaudio', highWaterMark: 262144, }, opusEncoded: false, fmt: 's16le', encoderArgs: [], seek: 0}).on("error", (err) => { return err.message.toLowerCase().includes("premature close") ? null : console.log(err);
});
The same is happening to me ✋
Me too
can anybody tell me why this is returning the Write EPIPE error ?
const ytdl = require('discord-ytdl-core') stream = ytdl('https://www.youtube.com/watch?v=CqsgCsU8SOA',{ headers: { quality: 'highestaudio', highWaterMark: 262144, }, opusEncoded: false, fmt: 's16le', encoderArgs: [], seek: 0}).on("error", (err) => { return err.message.toLowerCase().includes("premature close") ? null : console.log(err);
});