mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2024-11-14 03:50:18 +00:00
Update audioPlayer idle event in Streamer class
This commit is contained in:
parent
21743b8383
commit
8d66dcb4ae
@ -87,6 +87,7 @@ module.exports = class {
|
|||||||
})
|
})
|
||||||
.on('idle', () => {
|
.on('idle', () => {
|
||||||
this.logger('Streamer', station.name + " / " + "Idle");
|
this.logger('Streamer', station.name + " / " + "Idle");
|
||||||
|
audioPlayer.removeAllListeners();
|
||||||
this.play(station);
|
this.play(station);
|
||||||
})
|
})
|
||||||
.on('paused', () => {
|
.on('paused', () => {
|
||||||
|
Loading…
Reference in New Issue
Block a user