mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2024-11-10 02:20:18 +00:00
Update Streamer class
This commit is contained in:
parent
24478b6320
commit
7040300b3e
@ -56,12 +56,10 @@ module.exports = class {
|
||||
})
|
||||
.on("finish", () => {
|
||||
this.logger('Streamer', station.name + " / " + "Finished");
|
||||
this.map.delete(station.name);
|
||||
this.play(station);
|
||||
})
|
||||
.on("error", error => {
|
||||
this.logger('Streamer', station.name + " / " + "Error");
|
||||
this.map.delete(station.name);
|
||||
this.play(station);
|
||||
});
|
||||
return audioPlayer;
|
||||
|
Loading…
Reference in New Issue
Block a user