discord-ytdl-core
Advanced tools
Comparing version 4.0.3 to 4.0.4
@@ -146,3 +146,3 @@ import ytdl, { downloadOptions } from "ytdl-core"; | ||
}); | ||
if (typeof stream !== "string") stream.pipe(transcoder); | ||
if (typeof stream !== "string") transcoder = stream.pipe(transcoder); | ||
if (options && !options.opusEncoded) { | ||
@@ -149,0 +149,0 @@ transcoder.on("close", () => transcoder.destroy()); |
{ | ||
"name": "discord-ytdl-core", | ||
"version": "4.0.3", | ||
"version": "4.0.4", | ||
"description": "Simple ytdl wrapper for discord bots with custom ffmpeg args support.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -39,2 +39,3 @@ # [discord-ytdl-core](https://ytdl.snowflakedev.xyz "Documentation") | ||
Through URL: **[https://listen.moe/kpop/opus](https://listen.moe/kpop/opus)** | ||
Using fs: | ||
@@ -41,0 +42,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
31213
248