Skip to content

Commit

Permalink
refactor: disable verbose mode
Browse files Browse the repository at this point in the history
  • Loading branch information
4gray committed Mar 24, 2023
1 parent 19cc921 commit 47bf91b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions electron/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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));

Expand Down

0 comments on commit 47bf91b

Please sign in to comment.