fix(player): Improve MPV stability and seek performance (#953)

This commit is contained in:
et21ff 2025-06-11 08:22:40 +08:00 committed by GitHub
parent 9f11061433
commit 62f4bb0d7b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -83,6 +83,7 @@ export const SynchronizedLyrics = ({
(time: number) => {
if (playbackType === PlaybackType.LOCAL && mpvPlayer) {
mpvPlayer.seekTo(time);
setCurrentTime(time, true);
} else {
setCurrentTime(time, true);
handleScrobbleFromSeek(time);