From 35e4faf411d15c31b66a7f0552651a5d85e2038b Mon Sep 17 00:00:00 2001 From: JonnyBro Date: Sat, 6 Aug 2022 21:31:38 +0500 Subject: [PATCH] =?UTF-8?q?=D1=84=D0=B8=D0=BA=D1=81=20=D0=B4=D0=BB=D0=B8?= =?UTF-8?q?=D1=82=D0=B5=D0=BB=D1=8C=D0=BD=D0=BE=D1=81=D1=82=D0=B8=20youtub?= =?UTF-8?q?e=20music?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- helpers/extractor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpers/extractor.js b/helpers/extractor.js index edbecbdd..debe4071 100644 --- a/helpers/extractor.js +++ b/helpers/extractor.js @@ -137,7 +137,7 @@ module.exports = { return resolve({ playlist: null, info: null }); const track = { title: info.video_details.title, - duration: info.video_details.duration, + duration: info.video_details.durationInSec, thumbnail: info.video_details.thumbnails[0].url, async engine() { return (await playdl.stream(`https://music.youtube.com/watch?v=${info.video_details.id}`, { discordPlayerCompatibility : true })).stream;