Attempt additional cleanup on mpv start

This commit is contained in:
jeffvli 2023-08-06 11:41:40 -07:00
parent aaaaee7043
commit 23e791c829
3 changed files with 7 additions and 0 deletions

View file

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