fix: move sendSongInfo to dataloaded event #3766
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#3766
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/album-play-song-info"
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 #3733
The event listener callback for
videodatachange
assumes thatdataloaded
comes first thendataupdated
afterwards.For songs this is the case. For albums though, it is the reverse, so the song info doesn't get updated as a result. This commit moves the updating of song info on
dataloaded
instead.I haven't encountered issues after moving this so far, but if there are unintended side effects, please let me know.
fixed by #3659
Pull request closed