mirror of
https://github.com/informaticker/discord-jellyfin-bot.git
synced 2024-11-24 18:41:57 +01:00
🐛 Track change announcement after play
This commit is contained in:
parent
99cbbf4850
commit
9104e52de4
@ -91,7 +91,7 @@ export class Playlist {
|
||||
const length = this.tracks.push(...tracks);
|
||||
|
||||
// emit a track change if there is no item
|
||||
if (!this.activeTrackIndex) {
|
||||
if (this.activeTrackIndex === undefined) {
|
||||
this.announceTrackChange();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user