diff --git a/package-lock.json b/package-lock.json index 6f2c273..470d23b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -49,7 +49,7 @@ "socket.io": "^4.5.1", "spotify-url-info": "^2.2.3", "tweetnacl": "^1.0.3", - "youtube-dl-exec": "^3.0.3", + "youtube-dl-exec": "^3.0.6", "youtube-sr": "^4.1.17" }, "devDependencies": { @@ -10673,9 +10673,9 @@ } }, "node_modules/youtube-dl-exec": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/youtube-dl-exec/-/youtube-dl-exec-3.0.3.tgz", - "integrity": "sha512-UKKMU6MG2gqV7Z4iE+V6gcumVE2kO9MtkvRDqC0T4PDrzP4Jol12qmwdMH1wjXUT+Xd4eCo67S73DerO76w6FA==", + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/youtube-dl-exec/-/youtube-dl-exec-3.0.6.tgz", + "integrity": "sha512-9BZ9wf5tJpRWKviKOSnJ2napAzNy0Tp8HgLIv6sA55Ilnx2gnoHxlOtm5lNPrxI+XZc7XKhRxQ95o8Wymbf47Q==", "hasInstallScript": true, "dependencies": { "bin-version-check": "~6.0.0", @@ -18590,9 +18590,9 @@ "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==" }, "youtube-dl-exec": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/youtube-dl-exec/-/youtube-dl-exec-3.0.3.tgz", - "integrity": "sha512-UKKMU6MG2gqV7Z4iE+V6gcumVE2kO9MtkvRDqC0T4PDrzP4Jol12qmwdMH1wjXUT+Xd4eCo67S73DerO76w6FA==", + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/youtube-dl-exec/-/youtube-dl-exec-3.0.6.tgz", + "integrity": "sha512-9BZ9wf5tJpRWKviKOSnJ2napAzNy0Tp8HgLIv6sA55Ilnx2gnoHxlOtm5lNPrxI+XZc7XKhRxQ95o8Wymbf47Q==", "requires": { "bin-version-check": "~6.0.0", "dargs": "~7.0.0", diff --git a/package.json b/package.json index c9c776f..0d44f87 100644 --- a/package.json +++ b/package.json @@ -89,7 +89,7 @@ "socket.io": "^4.5.1", "spotify-url-info": "^2.2.3", "tweetnacl": "^1.0.3", - "youtube-dl-exec": "^3.0.3", + "youtube-dl-exec": "^3.0.6", "youtube-sr": "^4.1.17" }, "optionalDependencies": { diff --git a/src/commands/player/track.ts b/src/commands/player/track.ts index 6cbab93..98e7eca 100644 --- a/src/commands/player/track.ts +++ b/src/commands/player/track.ts @@ -147,7 +147,6 @@ export default class Track { quiet: true, format: 'bestaudio[ext=webm][acodec=opus][asr=48000]/bestaudio', cookies: './.data/cookies.txt', - // @ts-expect-error The library has incomplete typing for flags forceKeyframesAtCuts: true, downloadSections: options.seek ? `*${options.seek}-inf` : '*from-url', }, {