All pause error fixed

This commit is contained in:
killer069 2021-09-10 10:34:03 +05:30
parent 86875dfc39
commit ad16ddc20a

View File

@ -139,10 +139,8 @@ export class Stream {
this.stream.removeAllListeners('pause') this.stream.removeAllListeners('pause')
} }
else if(this.playing_count === 280){ else if(this.playing_count === 280){
this.loop()
}
else if(this.playing_count >= 300){
this.playing_count = 0 this.playing_count = 0
this.loop()
} }
}) })
this.loop() this.loop()