[Bug]: (Synced Lyrics): Lyrics stuck at the end when song ends and another one starts #2323
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
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: YTMD/youtube-music#2323
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
3.5.1
Checklists
What operating system are you using?
Other Linux
Operating System Version
Fedora 40, kernel: 6.9.11-200.fc40.x86_64
What CPU architecture are you using?
x64
Last Known Working YouTube Music (Application) version
No response
Reproduction steps
Synced lyrics
Expected Behavior
Lyrics change and listing from start
Actual Behavior
Lyrics stuck at the one of ending strings
https://github.com/user-attachments/assets/556c9e79-9b31-419c-b20f-7165816f4b3e
Enabled plugins
Additional Information
No response
does this consistently happen?
Yes, It is. Every time when music switches automatically. If I switch It manually, everything goes right.
I cannot reproduce this on my computer.
This is a wild guess, but it might be a performance issue (?)
What is your power profile on
windowsfedora?Is it on Performance/Balanced or Power saver?
And if it is on Power saver, does changing it to Performance/Balanced fix this issue?
My power profile is
Performance
I think I know where the issue is as I had the same issue. The video element that it uses to track time sometimes (usually when a song naturally ends, and it plays the next one) keeps the currentTime going, without reset. In my fork I fixed this by doing this:
Creating timeOffset var
Logic for currentTime - timeOffset
When new song plays, change currentTime var
I would open a pull request but I'm sure there is a better way to do this.