Additional adjustments on mpv play
This commit is contained in:
parent
f09ad1da89
commit
e3fc99cf82
2 changed files with 1 additions and 2 deletions
|
@ -57,7 +57,6 @@ export const App = () => {
|
|||
const initializeMpv = async () => {
|
||||
const isRunning: boolean | undefined = await mpvPlayer?.isRunning();
|
||||
|
||||
mpvPlayer?.pause();
|
||||
mpvPlayer?.stop();
|
||||
|
||||
if (!isRunning) {
|
||||
|
|
|
@ -172,7 +172,7 @@ export const useHandlePlayQueueAdd = () => {
|
|||
}
|
||||
|
||||
if (playType === Play.NOW) {
|
||||
mpvPlayer!.cleanup();
|
||||
mpvPlayer!.pause();
|
||||
mpvPlayer!.setQueue(playerData);
|
||||
mpvPlayer!.play();
|
||||
}
|
||||
|
|
Reference in a new issue