From 47bf91b099bf0914ec126968e19b5f4b63ad18e7 Mon Sep 17 00:00:00 2001 From: 4gray <4gray@users.noreply.github.com> Date: Fri, 24 Mar 2023 07:16:42 +0100 Subject: [PATCH] refactor: disable verbose mode --- electron/api.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/electron/api.ts b/electron/api.ts index 0b2642acc..1fac5f391 100644 --- a/electron/api.ts +++ b/electron/api.ts @@ -38,8 +38,7 @@ const fs = require('fs'); const https = require('https'); const mpvAPI = require('node-mpv'); -const createMpvInstance = () => - new mpvAPI({ debug: true, verbose: true }, ['--autofit=70%']); +const createMpvInstance = () => new mpvAPI({}, ['--autofit=70%']); let mpv = createMpvInstance(); mpv.on('quit', () => (mpv = null)).on('crash', () => (mpv = null));