mirror of
https://github.com/trafficlunar/jellyfin-spicetify.git
synced 2026-06-13 19:07:06 +00:00
fix: stop stuttering when starting to play track
This commit is contained in:
parent
ad5da3f863
commit
6196e95e30
1 changed files with 1 additions and 0 deletions
|
|
@ -34,6 +34,7 @@ export async function playTrack(id: string) {
|
||||||
if (!hijackActive.get()) Spicetify.Player.setVolume(0); // Set Spotify audio volume to 0
|
if (!hijackActive.get()) Spicetify.Player.setVolume(0); // Set Spotify audio volume to 0
|
||||||
|
|
||||||
hijackActive.set(true);
|
hijackActive.set(true);
|
||||||
|
oldTime = 0;
|
||||||
Spicetify.Player.setVolume(oldVolume); // Hijack active, set Jellyfin audio volume and also update the volume slider
|
Spicetify.Player.setVolume(oldVolume); // Hijack active, set Jellyfin audio volume and also update the volume slider
|
||||||
|
|
||||||
const params = new URLSearchParams({
|
const params = new URLSearchParams({
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue