Attempt to fix player unresponsive on first start

This commit is contained in:
jeffvli 2024-02-16 22:12:28 -08:00
parent 2f105956b9
commit 9a43ea0e4a
3 changed files with 9 additions and 8 deletions

View file

@ -175,8 +175,7 @@ export const useHandlePlayQueueAdd = () => {
if (playType === Play.NOW || !hadSong) {
mpvPlayer!.pause();
mpvPlayer!.setQueue(playerData);
mpvPlayer!.play();
mpvPlayer!.setQueue(playerData, false);
} else {
mpvPlayer!.setQueueNext(playerData);
}