Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: (Synced Lyrics): Lyrics stuck at the end when song ends and another one starts #2323

Closed
3 of 5 tasks
Dzheremi2 opened this issue Aug 2, 2024 · 5 comments
Closed
3 of 5 tasks
Assignees
Labels
bug Something isn't working fix-available A fix to the issue is available in a new version

Comments

@Dzheremi2
Copy link
Contributor

Dzheremi2 commented Aug 2, 2024

Preflight Checklist

  • I use the latest version of YouTube Music (Application).
  • I have searched the issue tracker for a bug report that matches the one I want to file, without success.
  • I understand that th-ch/youtube-music has NO affiliation with Google or YouTube

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

  1. Enable Plugin Synced lyrics
  2. Play a track
  3. Open Lyrics tab
  4. Wait for track to be ended and next track is playing

Expected Behavior

Lyrics change and listing from start

Actual Behavior

Lyrics stuck at the one of ending strings

PXL_20240802_204057696.1.mp4

Enabled plugins

  1. Downloader
  2. In-App menu
  3. Precise volume
  4. MPRIS
  5. Discord Rich Presence
  6. Music Togethed
  7. Synced Lyrics

Additional Information

No response

@Dzheremi2 Dzheremi2 changed the title [Bug]: Lyrics stuck at the end when song ends and another one starts [Bug]: (Synced Lyrics): Lyrics stuck at the end when song ends and another one starts Aug 3, 2024
@ArjixWasTaken ArjixWasTaken self-assigned this Aug 3, 2024
@ArjixWasTaken ArjixWasTaken added the bug Something isn't working label Aug 3, 2024
@ArjixWasTaken
Copy link
Contributor

does this consistently happen?

@Dzheremi2
Copy link
Contributor Author

does this consistently happen?

Yes, It is. Every time when music switches automatically. If I switch It manually, everything goes right.

@ArjixWasTaken
Copy link
Contributor

ArjixWasTaken commented Aug 8, 2024

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 windows fedora?
Is it on Performance/Balanced or Power saver?

And if it is on Power saver, does changing it to Performance/Balanced fix this issue?

@Dzheremi2
Copy link
Contributor Author

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 windows fedora? 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

@Bugjuice58
Copy link
Contributor

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.

Dzheremi2 added a commit to Dzheremi2/youtube-music that referenced this issue Aug 28, 2024
@JellyBrick JellyBrick added the fix-available A fix to the issue is available in a new version label Sep 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fix-available A fix to the issue is available in a new version
Projects
None yet
Development

No branches or pull requests

4 participants