From 4bc4ac65db46b017e094a39962b7e1eb10dde0f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christer=20War=C3=A9n?= Date: Sat, 20 Nov 2021 03:13:27 +0200 Subject: [PATCH] Update Streamer class --- src/client/classes/Streamer.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/client/classes/Streamer.js b/src/client/classes/Streamer.js index 9ab69f8..c7a7e34 100644 --- a/src/client/classes/Streamer.js +++ b/src/client/classes/Streamer.js @@ -87,6 +87,8 @@ module.exports = class { }) .on('idle', () => { this.logger('Streamer', station.name + " / " + "Idle"); + this.stop(station); + this.play(station); }) .on('paused', () => { this.logger('Streamer', station.name + " / " + "Paused");