From 8d66dcb4ae720732ce6080b3b5bd8a714a3794fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christer=20War=C3=A9n?= Date: Mon, 29 Nov 2021 14:37:14 +0200 Subject: [PATCH] Update audioPlayer idle event in Streamer class --- src/client/classes/Streamer.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/client/classes/Streamer.js b/src/client/classes/Streamer.js index 443c284..2637b5a 100644 --- a/src/client/classes/Streamer.js +++ b/src/client/classes/Streamer.js @@ -87,6 +87,7 @@ module.exports = class { }) .on('idle', () => { this.logger('Streamer', station.name + " / " + "Idle"); + audioPlayer.removeAllListeners(); this.play(station); }) .on('paused', () => {