fix(downloader): use the upgrade button to check for premium status #2987
No reviewers
Labels
No labels
awaiting-reply
breaking changes
bug
cannot-reproduce
dependencies
documentation
duplicate
electron-issue
enhancement
fix-available
good first issue
help wanted
invalid
javascript
need more information
need rebase
official-youtube-music-issue
plugin request
question
release
security
stale
Status: blocked
typo
wontfix
ytmd-issue
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: YTMD/youtube-music#2987
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/downloader-premium-checker"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes #2985 and also fixes another 304 error when downloading (#2888).
This uses the "Upgrade" button to check for YouTube Music Premium status instead of the "Get Music Premium" button from the account menu. Modified code is based on /src/renderer.ts#L337-L355.
What happens if the user enabled the "Remove upgrade button" feature?
It will still find the "Upgrade" button since the remove upgrade button feature only applies a
display: none
style instead of removing it from the DOM.so do we have to sign in and get youtube premium?
You need to sign in, but you don't need Premium.
is signing in a risk for account suspension? i already got suspended once
Afaik you won't, but if you're really skeptical just make a new, separate one.
Did you get suspended because of using this app?
Yes for two days, that's when they put a block on the downloader of the software and the issue appeared
two more things just so ya'll know, if you sign in and don't have premium songs will be downloaded in 128kbs even though it says 256kbs. Also for some reason it only downloads 100 songs if from download playlist selection even though there are 271 songs other than that it works great. Oh forgot to mention downloading playlist is a no go this is the error that pops up

This is related to another issue that still remains unresolved (#1791).