mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-16 13:40:24 +02:00
fix all imports for new structure
This commit is contained in:
@@ -330,7 +330,8 @@ ipcMain.on('player-set-queue', async (_event, current?: string, next?: string, p
|
||||
if (current) {
|
||||
try {
|
||||
await getMpvInstance()?.load(current, 'replace');
|
||||
} catch (error) {
|
||||
} catch (error: any | NodeMpvError) {
|
||||
mpvLog({ action: `Failed to load current song` }, error);
|
||||
await getMpvInstance()?.play();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user