mirror of
https://github.com/BluemediaDev/muse.git
synced 2025-06-27 17:22:42 +02:00
Reset playerclients for ytdl during getinfo to defaults
Update ytdl-core and ytsr
This commit is contained in:
parent
6ec6bb8aae
commit
afbc570c81
2 changed files with 3 additions and 3 deletions
|
@ -89,8 +89,8 @@
|
||||||
"@discordjs/opus": "^0.8.0",
|
"@discordjs/opus": "^0.8.0",
|
||||||
"@discordjs/rest": "1.0.1",
|
"@discordjs/rest": "1.0.1",
|
||||||
"@discordjs/voice": "0.17.0",
|
"@discordjs/voice": "0.17.0",
|
||||||
"@distube/ytdl-core": "^4.14.4",
|
"@distube/ytdl-core": "^4.14.8",
|
||||||
"@distube/ytsr": "^2.0.0",
|
"@distube/ytsr": "^2.0.4",
|
||||||
"@prisma/client": "4.16.0",
|
"@prisma/client": "4.16.0",
|
||||||
"@types/libsodium-wrappers": "^0.7.9",
|
"@types/libsodium-wrappers": "^0.7.9",
|
||||||
"array-shuffle": "^3.0.0",
|
"array-shuffle": "^3.0.0",
|
||||||
|
|
|
@ -515,7 +515,7 @@ export default class {
|
||||||
|
|
||||||
if (!ffmpegInput) {
|
if (!ffmpegInput) {
|
||||||
// Not yet cached, must download
|
// Not yet cached, must download
|
||||||
const info = await ytdl.getInfo(song.url);
|
const info = await ytdl.getInfo(song.url, {playerClients: ['WEB_CREATOR', 'IOS']});
|
||||||
|
|
||||||
const formats = info.formats as YTDLVideoFormat[];
|
const formats = info.formats as YTDLVideoFormat[];
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue