mirror of
https://github.com/antebudimir/feishin.git
synced 2026-01-01 02:13:33 +00:00
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:
parent
b60ba27892
commit
1acfa93f1a
3 changed files with 16 additions and 13 deletions
|
|
@ -701,6 +701,7 @@ export const usePlayerStore = create<PlayerSlice>()(
|
|||
state.current = {
|
||||
...state.current,
|
||||
...data.current,
|
||||
time: 0,
|
||||
};
|
||||
state.queue = {
|
||||
...state.queue,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue