Returned the value when hit 404
This commit is contained in:
parent
46cf8e48bd
commit
50dc2da1e3
4
package-lock.json
generated
4
package-lock.json
generated
@ -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"
|
||||
|
||||
@ -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",
|
||||
|
||||
@ -187,6 +187,7 @@ export class Stream {
|
||||
this.cleanup()
|
||||
await this.retry()
|
||||
this.loop()
|
||||
return
|
||||
}
|
||||
this.request = stream
|
||||
stream.pipe(this.stream, { end : false })
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user