fix: Use yt-stream instead of play-dl, solves playback of longer duration yt videoes

This commit is contained in:
Marius Begby committed 2023-07-10 16:18:14 +02:00
1 parent 325feed8fb
commit 31a9d8f034
2 files changed
+7 -18

No files matched your search

+6 -17
View File
@@ -15,7 +15,7 @@
"@discordjs/voice": "^0.16.0",
"discord-player": "^6.6.1",
"discord.js": "^14.11.0",
"play-dl": "^1.9.6"
"yt-stream": "^1.4.8"
}
},
"node_modules/@discord-player/equalizer": {
@@ -1026,22 +1026,6 @@
"url": "https://github.com/sponsors/Borewit"
}
},
"node_modules/play-audio": {
"version": "0.5.2",
"resolved": "https://registry.npmjs.org/play-audio/-/play-audio-0.5.2.tgz",
"integrity": "sha512-ZAqHUKkQLix2Iga7pPbsf1LpUoBjcpwU93F1l3qBIfxYddQLhxS6GKmS0d3jV8kSVaUbr6NnOEcEMFvuX93SWQ=="
},
"node_modules/play-dl": {
"version": "1.9.6",
"resolved": "https://registry.npmjs.org/play-dl/-/play-dl-1.9.6.tgz",
"integrity": "sha512-JW44bQbME9fNfGhGXQ/rdcsHr4BfgJabVlSgpS9QY/NscfprFH1asv+q9atrZThP3+hHIpgtFNABccg9rFWlwg==",
"dependencies": {
"play-audio": "^0.5.2"
},
"engines": {
"node": ">=16.0.0"
}
},
"node_modules/prism-media": {
"version": "1.3.5",
"resolved": "https://registry.npmjs.org/prism-media/-/prism-media-1.3.5.tgz",
@@ -1363,6 +1347,11 @@
"version": "4.3.4",
"resolved": "https://registry.npmjs.org/youtube-sr/-/youtube-sr-4.3.4.tgz",
"integrity": "sha512-olSYcR80XigutCrePEXBX3/RJJrWfonJQj7+/ggBiWU0CzTDLE1q8+lpWTWCG0JpzhzILp/IB/Bq/glGqqr1TQ=="
},
"node_modules/yt-stream": {
"version": "1.4.8",
"resolved": "https://registry.npmjs.org/yt-stream/-/yt-stream-1.4.8.tgz",
"integrity": "sha512-XtJ1njQ5xKSmW4FAk+YVliyV+XG5/ejAaANUqbyT5ya+COgW9hyswWh16mZJZzj+uEkRobzCId/oH4kP2VmTbQ=="
}
}
}
+1 -1
View File
@@ -29,6 +29,6 @@
"@discordjs/voice": "^0.16.0",
"discord-player": "^6.6.1",
"discord.js": "^14.11.0",
"play-dl": "^1.9.6"
"yt-stream": "^1.4.8"
}
}