mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-12 12:06:16 -08:00
refactor: disable verbose mode
This commit is contained in:
1 parent
19cc921033
commit
47bf91b099
1 file changed
+1
-2
+1
-2
@@ -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));
|
||||
|
||||
|
||||
Reference in new issue
Block a user