From d47be162d7ccdb722a0bbf727504de9f99bad904 Mon Sep 17 00:00:00 2001 From: Androz2091 Date: Thu, 25 Jun 2020 18:03:37 +0200 Subject: [PATCH] :bug: Fix trackChanged event --- src/Player.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Player.js b/src/Player.js index c8a4165..a50aee2 100644 --- a/src/Player.js +++ b/src/Player.js @@ -921,7 +921,7 @@ class Player { this._playYTDLStream(queue, false).then(() => { // Emit trackChanged event if (!firstPlay) { - queue.emit('trackChanged', nowPlaying, wasPlaying, queue.lastSkipped, queue.repeatMode) + queue.emit('trackChanged', wasPlaying, nowPlaying, queue.lastSkipped, queue.repeatMode) } }) }