You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, thanks a lot for this library - I'm using it for candy and it's a breeze using this library :)
Description
As stated in the readme the third value of the progress event should be a number indicating the total amount of bytes / size. In my case, after upgrading from 3.1.1 to 3.2.2 this is now a string?!
Steps to reproduce
I've isolated the issued seperately also using the latest version (3.2.2):
I've seen here that this kind of information gets forwarded from the node-m3u8stream which weirdly only casts size to a number when it gets added to downloaded (see this line).
I'm not sure if this is a problem in ytdl-core but m3u8stream is pretty "old" and it worked(?!) previously.
Workaround
I'm just converting it explicit to a number which works.
The text was updated successfully, but these errors were encountered:
First of all, thanks a lot for this library - I'm using it for candy and it's a breeze using this library :)
Description
As stated in the readme the third value of the progress event should be a number indicating the total amount of bytes / size. In my case, after upgrading from
3.1.1
to3.2.2
this is now a string?!Steps to reproduce
I've isolated the issued seperately also using the latest version (
3.2.2
):Console output:
My Environment:
Additional info
I've seen here that this kind of information gets forwarded from the node-m3u8stream which weirdly only casts
size
to a number when it gets added todownloaded
(see this line).I'm not sure if this is a problem in ytdl-core but m3u8stream is pretty "old" and it worked(?!) previously.
Workaround
I'm just converting it explicit to a number which works.
The text was updated successfully, but these errors were encountered: