🐛 Fix trackChanged event
This commit is contained in:
parent
ef27a34a30
commit
d47be162d7
1 changed files with 1 additions and 1 deletions
|
@ -921,7 +921,7 @@ class Player {
|
||||||
this._playYTDLStream(queue, false).then(() => {
|
this._playYTDLStream(queue, false).then(() => {
|
||||||
// Emit trackChanged event
|
// Emit trackChanged event
|
||||||
if (!firstPlay) {
|
if (!firstPlay) {
|
||||||
queue.emit('trackChanged', nowPlaying, wasPlaying, queue.lastSkipped, queue.repeatMode)
|
queue.emit('trackChanged', wasPlaying, nowPlaying, queue.lastSkipped, queue.repeatMode)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue