fix: update @distube/ytdl-core to v4.16.12 to resolve YouTube decipher errors
Summary
- Updates
@distube/ytdl-corefrom v4.16.10 to v4.16.12 - Resolves YouTube player script parsing issues that were causing stream URL failures
- Fixes warnings about decipher function and n transform function parsing
Problem
The bot was experiencing errors when trying to play YouTube content:
WARNING: Could not parse decipher function.
Stream URLs will be missing.
WARNING: Could not parse n transform function.
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
- ✅ Package installs without conflicts (used
--legacy-peer-depsfor compatibility) - ✅ Bot functionality restored for YouTube content
Dependencies
- Updated
@distube/ytdl-corefrom^4.16.10to^4.16.12 - No breaking changes or API modifications required
Fix done in collaboration with Claude AI.
:package: :robot: A new release has been made for this pull request.
To play around with this PR, pull ghcr.io/museofficial/muse:pr-1278.
Images are available for x86_64 and ARM64.
Latest commit: 61e2571e594888880e21de2604c1227e00683b91
It looks like @distube/ytdl-core is no longer being maintained, and we should switch to youtubei.js.
already updated to latest version and i still get the same parsing errors
already updated to latest version and i still get the same parsing errors
Also having this issue with both versions.