fix: stop stuttering when starting to play track

This commit is contained in:
trafficlunar 2026-03-12 22:14:34 +00:00
parent ad5da3f863
commit 6196e95e30

View file

@ -34,6 +34,7 @@ export async function playTrack(id: string) {
if (!hijackActive.get()) Spicetify.Player.setVolume(0); // Set Spotify audio volume to 0
hijackActive.set(true);
oldTime = 0;
Spicetify.Player.setVolume(oldVolume); // Hijack active, set Jellyfin audio volume and also update the volume slider
const params = new URLSearchParams({