[Bug]: Download plugin has a high failure rate #3328

Open
opened 2025-05-05 19:48:53 +00:00 by Zynax1 · 10 comments
Zynax1 commented 2025-05-05 19:48:53 +00:00 (Migrated from github.com)

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

Checklists

What operating system are you using?

Ubuntu

Operating System Version

24.04

What CPU architecture are you using?

x64

Last Known Working YouTube Music (Application) version

No response

Reproduction steps

Enable the downloader plugin and attempt to download a playlist.

Expected Behavior

All songs in the playlist would download without issue.

Actual Behavior

Many songs fail to download, only a few successfully download.

Image

Enabled plugins

  • Downloader
  • Discord rich presence
  • In-app menu
  • Navigation
  • Performance improvement
  • SponsorBlock
  • Synced Lyrics
  • Video quality changer

Additional Information

This has been reported in previous issues, such as #3207, however they were closed and marked as fixed. I am using the latest stable version and still having this issue.

### Preflight Checklist - [x] I use the latest version of YouTube Music (Application). - [x] I have searched the [issue tracker](https://github.com/th-ch/youtube-music/issues) 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.9.0 ### Checklists - [ ] I use the portable version of the YouTube Music Application. - [ ] I can reproduce this issue in the [official version of (WEB) YTM](https://music.youtube.com). ### What operating system are you using? Ubuntu ### Operating System Version 24.04 ### What CPU architecture are you using? x64 ### Last Known Working YouTube Music (Application) version _No response_ ### Reproduction steps Enable the downloader plugin and attempt to download a playlist. ### Expected Behavior All songs in the playlist would download without issue. ### Actual Behavior Many songs fail to download, only a few successfully download. ![Image](https://github.com/user-attachments/assets/23b3da05-040d-4af6-8864-e606ab2fe067) ### Enabled plugins - Downloader - Discord rich presence - In-app menu - Navigation - Performance improvement - SponsorBlock - Synced Lyrics - Video quality changer ### Additional Information This has been reported in previous issues, such as #3207, however they were closed and marked as fixed. I am using the latest stable version and still having this issue.
sam51210 commented 2025-05-08 18:21:40 +00:00 (Migrated from github.com)

I experience this too, however I can't download any song.

I experience this too, however I can't download **any** song.
JellyBrick commented 2025-05-10 13:42:26 +00:00 (Migrated from github.com)

Are you using a proxy?

Are you using a proxy?
Zynax1 commented 2025-05-10 14:07:53 +00:00 (Migrated from github.com)

No, I'm not using any kind of proxy or VPN. I have a video of the issue if it helps

https://streamable.com/oekixt

No, I'm not using any kind of proxy or VPN. I have a video of the issue if it helps https://streamable.com/oekixt
franz-dc commented 2025-05-12 17:03:18 +00:00 (Migrated from github.com)

The way I found to successfully download a song (individually) is to press download for the first time, let it fail, and then press download again. It will succeed afterwards.

Going a bit technical, there is an issue with using Electron's net.fetch, while using the native fetch function work fine (also raised here). As @JellyBrick mentioned, net.fetch is used for proxies, so using the native one as-is is a no-go.

The way I found to successfully download a song (individually) is to press download for the first time, let it fail, and then press download again. It will succeed afterwards. Going a bit technical, there is an issue with using Electron's `net.fetch`, while using the native fetch function work fine (also raised [here](https://github.com/th-ch/youtube-music/issues/1791#issuecomment-2668903883)). As @JellyBrick mentioned, `net.fetch` is used for proxies, so using the native one as-is is a no-go.
PedzacyKapec commented 2025-05-13 18:03:53 +00:00 (Migrated from github.com)

Got the same issue in win10.

PS: I clicked download multiple times and every time getting the same error no matter what song it is and yes I am logged in.
Its just doesnt work anymore.

Got the same issue in win10. PS: I clicked download multiple times and every time getting the same error no matter what song it is and yes I am logged in. Its just doesnt work anymore.
Wip-Sama commented 2025-05-17 09:10:43 +00:00 (Migrated from github.com)

The problem arises when you try to download a song while listening to the song and not the video, it seems he can't download anything if it's only song and not video from my experience.

The problem arises when you try to download a song while listening to the song and not the video, it seems he can't download anything if it's only song and not video from my experience.
ciganzelezo commented 2025-05-31 19:20:21 +00:00 (Migrated from github.com)

The way I found to successfully download a song (individually) is to press download for the first time, let it fail, and then press download again. It will succeed afterwards.

Same for me

> The way I found to successfully download a song (individually) is to press download for the first time, let it fail, and then press download again. It will succeed afterwards. Same for me
mimi-min commented 2025-06-02 19:18:52 +00:00 (Migrated from github.com)

I've had a bit of success if I download from the menu at the bottom when it's not in "now playing" mode, like the "home" or "library" screens. It still doesn't download anything automatically, however, and downloading playlists has about a 50% fail rate.

Regarding automatic download, it also doesn't seem to save my settings for that when I restart, for some reason...

I've had a bit of success if I download from the menu at the bottom when it's _not_ in "now playing" mode, like the "home" or "library" screens. It still doesn't download anything automatically, however, and downloading playlists has about a 50% fail rate. Regarding automatic download, it also doesn't seem to save my settings for that when I restart, for some reason...
dfldylan commented 2025-07-30 03:19:30 +00:00 (Migrated from github.com)

I even do not see download button...

Image Image Image Image
I even do not see download button... <img width="630" height="950" alt="Image" src="https://github.com/user-attachments/assets/be9832cb-aca7-4e80-92a0-d8a2c984c1ed" /> <img width="1338" height="981" alt="Image" src="https://github.com/user-attachments/assets/79575a26-dc57-468e-bb54-7eb2806146df" /> <img width="1338" height="981" alt="Image" src="https://github.com/user-attachments/assets/8e79a54a-fc96-4db6-9579-d2a11d22dcdc" /> <img width="1338" height="981" alt="Image" src="https://github.com/user-attachments/assets/78d97c0c-4dca-45e7-af27-d8c149b6573e" />
Panelgamer commented 2025-07-31 18:10:33 +00:00 (Migrated from github.com)

What is the version that are you currently using? Can you send me both your distro and your version of YM?

What is the version that are you currently using? Can you send me both your distro and your version of YM?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: YTMD/youtube-music#3328
No description provided.