[Bug]: i can;t download there is an error , its saying "ERROR: |[...] IS NOT A FUNCTION"
Preflight Checklist
- [x] I use the latest version of YouTube Music (Application).
- [x] I have searched the issue tracker for a bug report that matches the one I want to file, without success.
- [x] I understand that th-ch/youtube-music has NO affiliation with Google or YouTube
YouTube Music (Application) Version
3.11
Checklists
- [ ] I use the portable version of the YouTube Music Application.
- [ ] I can reproduce this issue in the official version of (WEB) YTM.
What operating system are you using?
Windows
Operating System Version
windows 11
What CPU architecture are you using?
x64
Last Known Working YouTube Music (Application) version
3.10
Reproduction steps
Expected Behavior
to download the song
Actual Behavior
to download the song
Enabled plugins
download transparent player
Additional Information
No response
This is duplicated by https://github.com/ytmd-devs/ytmd/issues/3932
i am having the same problem... and sometimes there isn't even the download button
Either youtubei.js or bgutils-js is outdated due to YouTube's obfuscated output changing after a YouTube code update.
To fix this issue, the maintainers have to fix these sub-dependencies' problems.
This is also why most websites stopped working to download music and/or videos, everyone using those libraries stopped working simultaneously.
A typical cat and mouse situation between us and the giants.
@segux It's NOT the same report.
They have DIFFERENT Error codes.
go an error too
Yeah, the error code is different
Yeah, the error code is different
yeah i know just want to say i got an error too
@segux It's NOT the same report.
![]()
They have DIFFERENT Error codes.
I think is related, probably the api of innertube is returning different responses now is returning 2xx Here's a youtube.js dependency talking about the same https://github.com/LuanRT/YouTube.js/issues/1044
Alright then, mate. Sorry if I had an aggressive tone.
I feel slightly clever, not much as I don't know how or why it works or what it does. From @segux note of the issue within youtube.js, I had worked out that where all the similar errors where coming from, I modified this to the /src/plugin/downloader/main/index.ts and rebuilt.
yt = await Innertube.create({ cache: new UniversalCache(false), player_id: '0004de42', cookie: await getCookieFromWindow(win), generate_session_locally: true, fetch: getNetFetchAsFetch(), });
The player ID addition seams to work, at least for now, the build was messy with errors as I didn't know what I was doing, but have a working AppImage and tar.gz that successfully download on my laptop and desktop.
Again I have no idea what this does, and I want to look further into why I was getting build errors but get a build that it still works. Hope my success may help others. This seamed the easier option that going the yt-dlp route, if I can be more confident of the build process, I'll try that one too as backup as this maybe the start of a cat and mouse game.
Hi, I’ve also been struggling with download bugs on YTMD even after trying the proposed fixes. So I cobbled together a simple homemade script that gets the job done for grabbing music from YouTube Music. It’s nothing fancy, probably has a bunch of bugs, just something I’m sharing here in case it helps anyone.
If you have any feedback or want to help out, feel free to open an issue there!
@rabid-sausage would be nice, providing detailed steps for the users who want to fix the issue. "/src/plugin/downloader/main/index.ts" is not enough to find the file. (should've mentioned that it is either inside the AppData or GitHub Repo)
@rabid-sausage would be nice, providing detailed steps for the users who want to fix the issue. "/src/plugin/downloader/main/index.ts" is not enough to find the file. (should've mentioned that it is either inside the AppData or GitHub Repo)
you won't find the source code on your computer unless you cloned the github repository, and they mention they "built" the program, meaning they did not directly modify a build, but created a build of their own
I'm back with an update, I have managed to fix the download. I have cloned the build following the README file and added the line code with the fix
@lazlar14 so that consistently works for you?
Yes
I'm back with an update, I have managed to fix the download. I have cloned the build following the README file and added the line code with the fix
How to set the player ID to 0004e42? I don't know how to do the solution you're suggesting. If it's not too much trouble, could you explain it to me step by step? I tried to do it myself, but I didn't understand anything about cloning the build.
I'm back with an update, I have managed to fix the download. I have cloned the build following the README file and added the line code with the fix
How to set the player ID to 0004e42? I don't know how to do the solution you're suggesting. If it's not too much trouble, could you explain it to me step by step? I tried to do it myself, but I didn't understand anything about cloning the build.
Have you asked ChatGPT?
I'm back with an update, I have managed to fix the download. I have cloned the build following the README file and added the line code with the fix
How to set the player ID to 0004e42? I don't know how to do the solution you're suggesting. If it's not too much trouble, could you explain it to me step by step? I tried to do it myself, but I didn't understand anything about cloning the build.
you can download the source code that includes the change here https://github.com/ytmd-devs/ytmd/archive/refs/heads/downloader-fix.zip all that's left is to build the code, but I uhh, doubt you'll find it easy
build steps are:
pnpm install
pnpm dist:win:x64 (for windows)
Vuelvo con una actualización, he conseguido arreglar la descarga. Cloné la compilación siguiendo el archivo README y agregué el código de línea con la solución
How did you do it? I'm still trying to use ChatGPT, but it still doesn't work. In fact, I don't even see the download button, and ads still appear.
I'm back with an update, I have managed to fix the download. I have cloned the build following the README file and added the line code with the fix
How to set the player ID to 0004e42? I don't know how to do the solution you're suggesting. If it's not too much trouble, could you explain it to me step by step? I tried to do it myself, but I didn't understand anything about cloning the build.
you can download the source code that includes the change here https://github.com/ytmd-devs/ytmd/archive/refs/heads/downloader-fix.zip all that's left is to build the code, but I uhh, doubt you'll find it easy
build steps are:
pnpm installpnpm dist:win:x64(for windows)
How do I download Node.js and npm? I thought it was just a matter of logging in and clicking download, but I see that's not the case. Sorry if this is tedious for you.
I'm back with an update, I have managed to fix the download. I have cloned the build following the README file and added the line code with the fix
How to set the player ID to 0004e42? I don't know how to do the solution you're suggesting. If it's not too much trouble, could you explain it to me step by step? I tried to do it myself, but I didn't understand anything about cloning the build.
you can download the source code that includes the change here https://github.com/ytmd-devs/ytmd/archive/refs/heads/downloader-fix.zip all that's left is to build the code, but I uhh, doubt you'll find it easy build steps are:
pnpm installpnpm dist:win:x64(for windows) you'll need nodejs and pnpmHow do I download Node.js and npm? I thought it was just a matter of logging in and clicking download, but I see that's not the case. Sorry if this is tedious for you.
Search Google to download Node.js and then go and search for the "Git" app. With Node, you just have to install it and that's it. Git is where you'll do the entire procedure.
so is there a patch or this is permentent i am unable to downloard
so is there a patch or this is permentent i am unable to downloard
They've already fixed it, but that will be reflected in the next update. They haven't said when it will be released yet.
They have DIFFERENT Error codes.