twlite / discord-ytdl-core

Simple ytdl wrapper for discord bots with custom ffmpeg args support.
https://www.npmjs.com/package/discord-ytdl-core
Apache License 2.0
51 stars 10 forks source link

error write EPIPE #28

Open saeed-Underline opened 3 years ago

saeed-Underline commented 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);

});

EasyXploit commented 2 years ago

The same is happening to me ✋

loulou133 commented 2 years ago

Me too