update the youtube extractor library
All checks were successful
ci/woodpecker/push/publish Pipeline was successful

This commit is contained in:
Mylloon 2023-09-03 18:33:11 +02:00
parent 7595273822
commit f4a58589a0
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
4 changed files with 11 additions and 22 deletions

View file

@ -18,6 +18,6 @@ RUN npx tsc
RUN rm -r src/ tsconfig.json RUN rm -r src/ tsconfig.json
RUN npm uninstall typescript @types/sqlite3 RUN npm uninstall typescript @types/sqlite3
ENV DP_FORCE_YTDL_MOD=play-dl ENV DP_FORCE_YTDL_MOD=yt-stream
CMD ["dumb-init", "node", "./dist/index.js"] CMD ["dumb-init", "node", "./dist/index.js"]

View file

@ -1,2 +1,2 @@
TOKEN_DISCORD="your-token-goes-here" TOKEN_DISCORD="your-token-goes-here"
DP_FORCE_YTDL_MOD="play-dl" DP_FORCE_YTDL_MOD="yt-stream"

25
package-lock.json generated
View file

@ -17,10 +17,10 @@
"discord-player": "^6.6.2", "discord-player": "^6.6.2",
"discord.js": "^14.12.1", "discord.js": "^14.12.1",
"genius-lyrics": "^4.4.3", "genius-lyrics": "^4.4.3",
"play-dl": "^1.9.6",
"sqlite3": "^5.1.6", "sqlite3": "^5.1.6",
"typescript": "^5.1.6", "typescript": "^5.1.6",
"uuid": "^9.0.0" "uuid": "^9.0.0",
"yt-stream": "^1.4.8"
}, },
"devDependencies": { "devDependencies": {
"@typescript-eslint/eslint-plugin": "^6.2.1", "@typescript-eslint/eslint-plugin": "^6.2.1",
@ -2986,22 +2986,6 @@
"url": "https://github.com/sponsors/jonschlinkert" "url": "https://github.com/sponsors/jonschlinkert"
} }
}, },
"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/prelude-ls": { "node_modules/prelude-ls": {
"version": "1.2.1", "version": "1.2.1",
"resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz",
@ -4179,6 +4163,11 @@
"version": "4.3.4", "version": "4.3.4",
"resolved": "https://registry.npmjs.org/youtube-sr/-/youtube-sr-4.3.4.tgz", "resolved": "https://registry.npmjs.org/youtube-sr/-/youtube-sr-4.3.4.tgz",
"integrity": "sha512-olSYcR80XigutCrePEXBX3/RJJrWfonJQj7+/ggBiWU0CzTDLE1q8+lpWTWCG0JpzhzILp/IB/Bq/glGqqr1TQ==" "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=="
} }
} }
} }

View file

@ -24,10 +24,10 @@
"discord-player": "^6.6.2", "discord-player": "^6.6.2",
"discord.js": "^14.12.1", "discord.js": "^14.12.1",
"genius-lyrics": "^4.4.3", "genius-lyrics": "^4.4.3",
"play-dl": "^1.9.6",
"sqlite3": "^5.1.6", "sqlite3": "^5.1.6",
"typescript": "^5.1.6", "typescript": "^5.1.6",
"uuid": "^9.0.0" "uuid": "^9.0.0",
"yt-stream": "^1.4.8"
}, },
"devDependencies": { "devDependencies": {
"@typescript-eslint/eslint-plugin": "^6.2.1", "@typescript-eslint/eslint-plugin": "^6.2.1",