Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Downloader not working #2888

Open
4 of 5 tasks
Nakxin opened this issue Jan 19, 2025 · 13 comments
Open
4 of 5 tasks

[Bug]: Downloader not working #2888

Nakxin opened this issue Jan 19, 2025 · 13 comments
Labels
bug Something isn't working

Comments

@Nakxin
Copy link

Nakxin commented Jan 19, 2025

Preflight Checklist

  • I use the latest version of YouTube Music (Application).
  • I have searched the issue tracker for a bug report that matches the one I want to file, without success.
  • I understand that th-ch/youtube-music has NO affiliation with Google or YouTube

YouTube Music (Application) Version

3.7.2.0

Checklists

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.6.1

Reproduction steps

Go on any music video press download, and be introduced with an error

Image

Expected Behavior

Find the song
press the 3 dots get the menu to pop down
press the download option
for it to work without giving me an error box

Actual Behavior

I press download it comes with an error
I tried on many songs and the problem still persists

Image

Enabled plugins

Compact sidebar
in-app menu
skip disliked songs
ad blocker
downloader
precise volume
ambient mode
album color theme
API Server [Beta]

Additional Information

I tried a custom option on the downloader but was introduced with a download button that did nothing no matter how many times i clicked
I tried Override User-Agent didn't work even after system restarts
I tried uninstalling and all the files associated to the program and did a full clean install still didn't work with the web.exe
I tried the portable version as well same issue persisted
I tried different type of songs (Short and long songs)
I tried disabling API Server [Beta] and the download button turned into a button that did nothing.
I tried re-enabling API Server [Beta] and the download button worked again but still caused an error when I tried downloading music
This issue is annoying and i've seen a bunch of people have this problem i tried following their steps in fixing the issue and yet it still persists.
I don't have enough knowledge about code to know what to look for when it comes to problems so if ill be given any feedback please dumb it down for me because im not familiar with most terms y'all would use.

@JellyBrick JellyBrick added the bug Something isn't working label Jan 19, 2025
@jazzybeat
Copy link

Same here

Image

@arzezio7
Copy link

Image

Same goes here with 3.7.2.0 :(

@H8ted666
Copy link

Don't fret, it will be ignored, and vague instructions on how you didn't format your question properly issued.

@kmac
Copy link

kmac commented Jan 20, 2025

Just a note: Reverting to 3.7.1.0 fixes the issue (for me)

@JellyBrick
Copy link
Collaborator

JellyBrick commented Jan 21, 2025

Same here

Image

Excepted behavior. "Mixed for you" is not accessible using the YouTube API because it is a "YouTube mix" (not a playlist).

@stoicpenguin2234
Copy link

i worked my way all the way back to 3.5.3 and got errors every time I tried to download a song

@kmac
Copy link

kmac commented Jan 21, 2025

To clarify, I have a subscription. Probably relevant.

I'm relatively new to this app - is there a good way to see logs? I've looked through the documentation but don't see a recommended way to find debugging information.

@ArjixWasTaken
Copy link
Contributor

The logs are not stored to a file, you'd have to launch youtube music from a terminal in order to see them.
And those logs will only contain the backend logs, you must open the chrome dev tools (Ctrl+Shift+I) to access the console and see the renderer logs as well.

@franz-dc
Copy link
Contributor

franz-dc commented Jan 24, 2025

Somewhat related, but this only happens in development. There is a problem with the current implementation of setting up PO Tokens.

Trace: BGError: PMD:Undefined
    at Function.create (D:\Repositories\youtube-music\node_modules\.pnpm\[email protected]\node_modules\bgutils-js\dist\core\webPoMinter.js:9:19)
    at generate (D:\Repositories\youtube-music\node_modules\.pnpm\[email protected]\node_modules\bgutils-js\dist\core\webPoClient.js:28:43)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at Object.onMainLoad (D:\Repositories\youtube-music\src\plugins\downloader\main\index.ts:152:31)
    at startPlugin (D:\Repositories\youtube-music\src\utils\index.ts:104:5)
    at forceLoadMainPlugin (D:\Repositories\youtube-music\src\loader\main.ts:103:24)
    at async Promise.allSettled (index 3)
    at loadAllMainPlugins (D:\Repositories\youtube-music\src\loader\main.ts:145:9)
    at createMainWindow (D:\Repositories\youtube-music\src\index.ts:362:3)
    at D:\Repositories\youtube-music\src\index.ts:728:16
    at startPlugin (D:\Repositories\youtube-music\src\utils\index.ts:127:13)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at forceLoadMainPlugin (D:\Repositories\youtube-music\src\loader\main.ts:103:24)
    at async Promise.allSettled (index 3)
    at loadAllMainPlugins (D:\Repositories\youtube-music\src\loader\main.ts:145:9)
    at createMainWindow (D:\Repositories\youtube-music\src\index.ts:362:3)
    at D:\Repositories\youtube-music\src\index.ts:728:16

That results to downloader button not working entirely:

Error occurred in handler for 'download-song': Error: No handler registered for 'download-song'
    at WebContents.<anonymous> (node:electron/js2c/browser_init:2:87136)
    at WebContents.emit (node:events:518:28)

@Macflylegamer
Copy link

Could someone please fix this? I really need the downloader, it's rly usefull for me... Thanks

@SpacerZVEVO
Copy link

Downloading a +55 public playlist results in only 3 successful downloads in mp3 mode. Failed downloads display the same error as described above. Tried on both 3.7.2 & 3.7.1 with the same results.

@MochiVN634
Copy link

For me, it's even worse. I click on 'Download,' and nothing happens at all. I've already checked the chosen download folder, and it's empty.

@mirorbo
Copy link

mirorbo commented Feb 2, 2025

Same issue different error code
(MacOS)

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests