mirror of
https://github.com/antebudimir/feishin.git
synced 2025-12-31 18:13:31 +00:00
Attempt additional cleanup on mpv start
This commit is contained in:
parent
aaaaee7043
commit
23e791c829
3 changed files with 7 additions and 0 deletions
|
|
@ -57,6 +57,9 @@ export const App = () => {
|
|||
const initializeMpv = async () => {
|
||||
const isRunning: boolean | undefined = await mpvPlayer?.isRunning();
|
||||
|
||||
mpvPlayer?.pause();
|
||||
mpvPlayer?.stop();
|
||||
|
||||
if (!isRunning) {
|
||||
const extraParameters = useSettingsStore.getState().playback.mpvExtraParameters;
|
||||
const properties = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue