Skip to content

Commit

Permalink
Upgrade youtube-dl-exec to 3.0.6
Browse files Browse the repository at this point in the history
Remove TS error for yt-dlp flags
  • Loading branch information
mikeyaworski committed Jun 27, 2024
1 parent 92a4307 commit 621a3b6
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
1 change: 0 additions & 1 deletion src/commands/player/track.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
}, {
Expand Down

0 comments on commit 621a3b6

Please sign in to comment.