Additional adjustments on mpv play

This commit is contained in:
jeffvli 2023-08-07 14:48:02 -07:00
parent f09ad1da89
commit e3fc99cf82
2 changed files with 1 additions and 2 deletions

View file

@ -172,7 +172,7 @@ export const useHandlePlayQueueAdd = () => {
}
if (playType === Play.NOW) {
mpvPlayer!.cleanup();
mpvPlayer!.pause();
mpvPlayer!.setQueue(playerData);
mpvPlayer!.play();
}