Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

组下载时,可否不设置组文件的大小 #380

Closed
lyxc opened this issue Apr 11, 2019 · 3 comments

Comments

Projects
None yet
2 participants
@lyxc
Copy link

commented Apr 11, 2019

Aria版本

3.6.3

什么问题

在组下载时,要使用setFileSize方法设置总任务文件的大小,但是这里有的时候并获取不到,只是有下载的地址,这里如何不设置文件大小,也能正确显示下载百分比?目前随便写文件大小导致下载百分比显示不准

如何复现此问题

控制台日志

@AriaLyy

This comment has been minimized.

Copy link
Owner

commented Apr 12, 2019

老版本支持,新版本不支持了,如果组合任务的文件多的话,会卡住很久

@lyxc

This comment has been minimized.

Copy link
Author

commented Apr 13, 2019

可是如果随便写个文件大小的话,那个百分比显示不准确,经常回出现300%之类的数字,有什么好的方式可以解决?

@AriaLyy

This comment has been minimized.

Copy link
Owner

commented May 15, 2019

3.6.4_dev_3 新增了unknownSize(),用于处理组合任务大小未知的情况

@AriaLyy AriaLyy closed this May 20, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.