mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2026-11-03 08:25:00 +00:00
Update Streamer class
This commit is contained in:
1 parent
e261e42e0c
commit
7225b4f60d
1 file changed
+1
-1
@@ -107,7 +107,7 @@ module.exports = class {
|
||||
|
||||
listen(station) {
|
||||
let audioPlayer = this.map.get(station.name);
|
||||
if(!audioPlayer || this.mode == "manual" && audioPlayer.subscribers.length != 0) audioPlayer = this.play(station);
|
||||
if(!audioPlayer || this.mode == "manual" && audioPlayer.subscribers.length == 0) audioPlayer = this.play(station);
|
||||
return audioPlayer;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user