[Bug]: (Downloader) YouTube Premium check fails if account menu is not opened at least once #2985
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#2985
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Preflight Checklist
YouTube Music (Application) Version
master
Checklists
What operating system are you using?
Windows
Operating System Version
Windows 10 23H2
What CPU architecture are you using?
x64
Last Known Working YouTube Music (Application) version
No response
Reproduction steps
Download a song without opening the account menu for the current session.
Expected Behavior
Song should be downloaded.
Actual Behavior
Download fails with a 403 error due to
isYouTubePremium
returning an incorrect value (withtype: 'audio'
being not available for non-Premium users).Enabled plugins
Additional Information
Copying from src/plugins/downloader/main/index.ts#L58-L61
Prior to opening the account menu (Premium status not detected properly):

Account menu opened (works):

Account menu closed after opening (still works):
