We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
用了下参数remove-old-seeds,这个应该是按照创建时间来计算的吧?但是有的种子下载时间会很长,我希望能否再添加一对类似“remove-old-seeds”和“remove-new-seeds”的参数,但是是以完成时间来排序计算的,这样可以避免出现刚下载完,或甚至没有下载完就被删除的情况。
The text was updated successfully, but these errors were encountered:
再提一点建议,能不能再输出个log,只记录删除种子的日志?或者加个参数,可以选择全部log输出或者只输出删除种子log? 问下参数remove-old-seeds删除逻辑是什么,发现好像不是删除最旧的种子,好像是尽可能少删除种子and最旧的种子?
Sorry, something went wrong.
remove-old-seeds的确是按照创建时间来算的。目前还没有按照完成时间删除的功能,后续可以添加。
log的确很冗长,这是个问题,需要改进。
您对remove-old-seeds的猜测是对的。具体逻辑基于贪心法,程序将所有种子按添加时间从新到旧排列,同时内部创建一个保留列表,然后依次选取种子,如果该种子的大小加上保留列表的种子总大小仍在限制大小内,该种子即可被保留,否则种子将会被删除。
autoremove-torrents/autoremovetorrents/condition/torrentsize.py
Lines 10 to 18 in 8a25644
同求
No branches or pull requests
用了下参数remove-old-seeds,这个应该是按照创建时间来计算的吧?但是有的种子下载时间会很长,我希望能否再添加一对类似“remove-old-seeds”和“remove-new-seeds”的参数,但是是以完成时间来排序计算的,这样可以避免出现刚下载完,或甚至没有下载完就被删除的情况。
The text was updated successfully, but these errors were encountered: