Update audioPlayer idle event in Streamer class

This commit is contained in:
Christer Warén 2021-11-29 14:37:14 +02:00
parent 21743b8383
commit 8d66dcb4ae

View File

@ -87,6 +87,7 @@ module.exports = class {
})
.on('idle', () => {
this.logger('Streamer', station.name + " / " + "Idle");
audioPlayer.removeAllListeners();
this.play(station);
})
.on('paused', () => {