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

v3版本利用aria2离线下载磁力链文件的bug #1665

Closed
4 tasks done
hdm9527 opened this issue Sep 13, 2022 · 2 comments
Closed
4 tasks done

v3版本利用aria2离线下载磁力链文件的bug #1665

hdm9527 opened this issue Sep 13, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@hdm9527
Copy link
Contributor

hdm9527 commented Sep 13, 2022

Please make sure of the following things

  • I have read the documentation.
  • I'm sure there are no duplicate issues or discussions.
  • I'm sure it's due to alist and not something else(such as Dependencies or Operational).
  • I'm sure I'm using the latest version

Alist Version / Alist 版本

v3.0.0-beta.2

Driver used / 使用的存储驱动

本地存储

Describe the bug / 问题描述

aria2的文件预分配功能无法关闭,file-allocation=none这项设为none还是会创建一个0字节的空文件,且下载磁力链接解析完会先创建一个被0填充的空文件来加速下载,但是文件还没开始正式下载就被移走了,实际上文件是空的,数据还没被写进去。
解决方法:aria2的配置文件有个下载完成后调用shell脚本的功能,例:on-download-complete=/root/upload.sh,不知道有没有api可以调用

Reproduction / 复现链接

Logs / 日志

@hdm9527 hdm9527 added the bug Something isn't working label Sep 13, 2022
@hdm9527 hdm9527 changed the title v3版本利用aria2下载磁力链文件的bug v3版本利用aria2离线下载磁力链文件的bug Sep 13, 2022
@XxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxX0

一样如此 请问你说的解决办法是什么意思?

@hdm9527
Copy link
Contributor Author

hdm9527 commented Sep 17, 2022

一样如此 请问你说的解决办法是什么意思?

bug修复思路

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants