fix: move sendSongInfo to dataloaded event #3766

Closed
franz-dc wants to merge 1 commit from fix/album-play-song-info into master
franz-dc commented 2025-08-19 18:32:47 +00:00 (Migrated from github.com)

Fixes #3733

The event listener callback for videodatachange assumes that dataloaded comes first then dataupdated 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.

Fixes #3733 The event listener callback for `videodatachange` assumes that `dataloaded` comes first then `dataupdated` 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.
JellyBrick commented 2025-09-07 04:44:02 +00:00 (Migrated from github.com)

fixed by #3659

fixed by #3659

Pull request closed

Sign in to join this conversation.
No reviewers
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#3766
No description provided.