mirror of
https://github.com/informaticker/discord-jellyfin-bot.git
synced 2024-11-25 02:51: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);
|
const length = this.tracks.push(...tracks);
|
||||||
|
|
||||||
// emit a track change if there is no item
|
// emit a track change if there is no item
|
||||||
if (!this.activeTrackIndex) {
|
if (this.activeTrackIndex === undefined) {
|
||||||
this.announceTrackChange();
|
this.announceTrackChange();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user