diff options
author | Florrie <towerofnix@gmail.com> | 2018-05-31 14:58:28 -0300 |
---|---|---|
committer | Florrie <towerofnix@gmail.com> | 2018-05-31 14:58:28 -0300 |
commit | f721509d54832f02aa6cd7f7f8a0782dd551b79a (patch) | |
tree | f08c40ddfd6765eaec81cf573cfb7bf256a224ff /players.js | |
parent | 98b2c1faa886a20695343b54bac1b2b6f85b3579 (diff) |
Playback indicator
Diffstat (limited to 'players.js')
-rw-r--r-- | players.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/players.js b/players.js index d1d0186..be5205f 100644 --- a/players.js +++ b/players.js @@ -41,7 +41,7 @@ function getTimeStrings({curHour, curMin, curSec, lenHour, lenMin, lenSec}) { duration = `${lenMin}:${lenSec}` } - return {percentDone, timeDone, timeLeft, duration} + return {percentDone, timeDone, timeLeft, duration, curSecTotal, lenSecTotal} } class Player extends EventEmitter { @@ -92,7 +92,7 @@ class Player extends EventEmitter { module.exports.MPVPlayer = class extends Player { getMPVOptions(file) { - return ['--no-audio-display', file] + return ['--no-video', file] } playFile(file) { |