diff --git a/src/client/classes/Streamer.ts b/src/client/classes/Streamer.ts index 8629867..04e6b22 100644 --- a/src/client/classes/Streamer.ts +++ b/src/client/classes/Streamer.ts @@ -70,9 +70,13 @@ export default class Streamer { }) .on(AudioPlayerStatus.Idle, () => { logger('Streamer', station.name + " / " + "Idle"); - const url = station.stream[station.stream.default]; - const resource = createAudioResource(url); - audioPlayer?.play(resource); + if(this.mode == "auto"){ + const url = station.stream[station.stream.default]; + const resource = createAudioResource(url); + audioPlayer?.play(resource); + } else { + this.stop(station.name); + } }) .on(AudioPlayerStatus.Paused, () => { logger('Streamer', station.name + " / " + "Paused");