mirror of
https://github.com/antebudimir/feishin.git
synced 2026-01-01 02:13:33 +00:00
Add mpv load error notification
- Add retry limit on error
This commit is contained in:
parent
1f36978bb9
commit
0320fe6dcc
4 changed files with 47 additions and 13 deletions
|
|
@ -421,6 +421,12 @@ ipcMain.on(
|
|||
},
|
||||
);
|
||||
|
||||
ipcMain.on('player-quit', async () => {
|
||||
mpvInstance?.stop();
|
||||
mpvInstance?.quit();
|
||||
mpvInstance = null;
|
||||
});
|
||||
|
||||
// Must duplicate with the one in renderer process settings.store.ts
|
||||
enum BindingActions {
|
||||
GLOBAL_SEARCH = 'globalSearch',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue