Coder Social home page Coder Social logo

Comments (15)

mzhboy avatar mzhboy commented on May 2, 2024

刚想提这个问题呢,希望能像aria2 webui 那样,可以把断线停止的任务重启,直接把任务控制按钮添加到每行任务里,方便操作单个任务。刷新时间间隔1秒也太长了,0.2秒如何。另外如果能管理多个aria2就更好了

from ariang.

mayswind avatar mayswind commented on May 2, 2024

@mzhboy 管理多个在考虑做,失败的任务应该是没有办法继续的,只能重新启动下载,之后做个复制任务来实现吧。刷新间隔1秒其实不长,常用的下载工具其实都是1秒为单位进行刷新的,包括aria2常用的前端工具也是。

from ariang.

YinHeng89 avatar YinHeng89 commented on May 2, 2024

@mzhboy 重启任务你可以参考下另外两个前端的处理方式,我觉得还不错。

from ariang.

mayswind avatar mayswind commented on May 2, 2024

@YinHeng89 YAAW没有重启任务吧,Aria2 WebUI有么,忘记了。

from ariang.

YinHeng89 avatar YinHeng89 commented on May 2, 2024

@mayswind 有的有的,任务失败之后都能重启…特别是百度经常下载失败

from ariang.

mayswind avatar mayswind commented on May 2, 2024

@YinHeng89 能点继续,但是会失败吧

from ariang.

YinHeng89 avatar YinHeng89 commented on May 2, 2024

@mayswind 不会失败的…具体机制我不是特别清楚,不过感觉像是新建了一个任务 然后继承之前的进度

from ariang.

YinHeng89 avatar YinHeng89 commented on May 2, 2024

@mayswind 怎么样 有结果了吗?最近都没看你更新代码!是很忙吗?

from ariang.

mayswind avatar mayswind commented on May 2, 2024

@YinHeng89 是很忙... 有时间我先看看其他两个是怎样的情况... 印象其他两个也没有这个功能...

from ariang.

YinHeng89 avatar YinHeng89 commented on May 2, 2024

<button ng-if="canRestart(download)" class="btn btn-default ng-scope" ng-click="restart(download)"> <span class="fa fa-fw fa-repeat"></span> </button>
有这样的代码

from ariang.

mayswind avatar mayswind commented on May 2, 2024

@YinHeng89 感谢提供,我抽空看下

from ariang.

WJsjtu avatar WJsjtu commented on May 2, 2024

WebUI的就是删除任务后再添加而已。 @mayswind 希望有用!
不过看注释不是那么简单的,因为好像只有链接任务是可以的,所有有些任务显示可以重试,有些种子之类的估计就不行了。
不过我也是百度链接下下来有时会崩。

from ariang.

cyc1610 avatar cyc1610 commented on May 2, 2024

感謝@mayswind 設計出AriaNg非常棒的作品

希望能添加這個功能

在http的下載任務中,如遇到途中錯誤中斷,這個恢復下載功能將會非常好用

如需要在重現WebUI錯誤的任務回復功能,建議調整max-connection-per-server=16

有些伺服器不支援多線程下載,很快就會斷開連線,讓任務出錯

from ariang.

mayswind avatar mayswind commented on May 2, 2024

最新的每日构建已经支持此功能

from ariang.

YinHeng89 avatar YinHeng89 commented on May 2, 2024

@mayswind 明天试试

from ariang.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.