diff --git a/package-lock.json b/package-lock.json index a8d36d8..b4cd19b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "play-dl", - "version": "0.9.7", + "version": "0.9.8", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "play-dl", - "version": "0.9.7", + "version": "0.9.8", "license": "MIT", "devDependencies": { "@types/node": "^16.9.1" diff --git a/package.json b/package.json index 066070c..fb89d18 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "play-dl", - "version": "0.9.7", + "version": "0.9.8", "description": "YouTube, SoundCloud, Spotify streaming for discord.js bots", "main": "dist/index.js", "typings": "dist/index.d.ts", diff --git a/play-dl/YouTube/classes/LiveStream.ts b/play-dl/YouTube/classes/LiveStream.ts index abe7a98..0e1f9de 100644 --- a/play-dl/YouTube/classes/LiveStream.ts +++ b/play-dl/YouTube/classes/LiveStream.ts @@ -187,6 +187,7 @@ export class Stream { this.cleanup() await this.retry() this.loop() + return } this.request = stream stream.pipe(this.stream, { end : false })