Update Streamer class

This commit is contained in:
Christer Warén 2021-11-20 03:13:27 +02:00
parent b7ae0db444
commit 4bc4ac65db

View File

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