diff options
-rw-r--r-- | players.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/players.js b/players.js index a61e545..24372c9 100644 --- a/players.js +++ b/players.js @@ -94,8 +94,7 @@ module.exports.MPVPlayer = class extends Player { percent // ###% ] = match.slice(1) - if (lastPercent < parseInt(percent)) { - lastPercent = parseInt(percent) + if (parseInt(percent) < lastPercent) { // mpv forgets commands you sent it whenever it loops, so you // have to specify them every time it loops. We do that whenever the // position in the song decreases, since that means it may have |