Fix ytdl-core VERSION - #1280
Conversation
📦 🤖 A new release has been made for this pull request.To play around with this PR, pull Images are available for x86_64 and ARM64.
|
I don't trust those changes and since I needed to fix my deployment, i'll rather use my own PR image Also there's unnecessary yarn.lock being pushed as well, incorrect changelog and unexplained change to src/services/player.ts |
Changes are public and nothing changed is suspicious. In any case, if you want a working docker image, feel free to use mine. |
Thanks, but I stick to zero trust opsec |
Then I would highly recommend against cloning or pulling open-source repositories. |
No worries, cloned muse and next changes will be mine, unlike artifacts from third party PRs |
Summary
Problem
The bot was experiencing errors when trying to play YouTube content:
This was happening because YouTube changed their player scripts, breaking the decipher function parsing in the older version of ytdl-core.
Solution
Updated @distube/ytdl-core to the latest version (4.16.12) which includes updated parsing logic to handle YouTube's recent changes.
Testing
✅ Docker build passes successfully
✅ Bot functionality restored for YouTube content
Dependencies
Updated @distube/ytdl-core from ^4.16.10 to ^4.16.12
No breaking changes or API modifications required