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

Fix sponsorblock skipping when not needed #465

Merged
merged 3 commits into from
Nov 1, 2021

Conversation

Araxeus
Copy link
Collaborator

@Araxeus Araxeus commented Nov 1, 2021

  • Fix sponsorblock skipping when not needed by resetting the segments before next song load (using the "emptied" event)

    The bug originally occurred because "timeupdate" was called while the segments were still from the old song because there is a slight delay getting them from ipc->songInfo->fetch->json->sort->ipc etc..

  • use loadedmetadata instead of loadeddata in song-info-front since the data is already available (its only a few milliseconds faster but whatever helps)

  • small lint for in-app-menu

Copy link
Owner

@th-ch th-ch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks for the improvement! ✅

@th-ch th-ch merged commit ceebd99 into th-ch:master Nov 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants