Improve MPV initialization and restore (#222)

- set mpv settings only after it has successfully started (at least on linux, settings were not taken)
- change timing of restore queue to behave properly
This commit is contained in:
Kendall Garner
2023-08-25 01:28:50 +00:00
committed by GitHub
parent b60ba27892
commit 1acfa93f1a
3 changed files with 16 additions and 13 deletions
+1
View File
@@ -701,6 +701,7 @@ export const usePlayerStore = create<PlayerSlice>()(
state.current = {
...state.current,
...data.current,
time: 0,
};
state.queue = {
...state.queue,