For deluge 2.0.3 here, the time_since_transfer
field returns the interval from the last activity to the current
#119
Labels
bug
Something isn't working
对于 deluge 2.0.3,
time_since_transfer
这条属性返回的是上次活动到目前的间隔时间So it will lead to
所以会导致,在
autoremove-torrents/autoremovetorrents/condition/lastactivity.py
Line 13 in 7b2b95b
is comparing a time close to
1970-01-01 08:00:00
with the time set inlast_activity
. . .Basically, thelast_activity
parameter can’t be used anymore.是在拿一个接近于
1970-01-01 08:00:00
的时间和 config 里面设置的时间去比。。。基本上last_activity
这条就不能用了I made some changes to make it work on deluge.
我做了一些更改,让它可以在 deluge 上工作。
But this should be incompatible with other clients. There were similar problems before, such as #98 and #109, so maybe it is better to unify the format returned by the
last_activity
in the.client
? The time returned by each client is unified into an interval instead of being calculated when comparing. . .但这应该和其他客户端不兼容,之前也有相似的问题,比如 #98 和 #109 ,所以或许统一一下这个
last_activity
在.client
里面返回的格式更好?针对各个客户端返回的时间,统一成间隔,而不是在比较的时候再算。。。The text was updated successfully, but these errors were encountered: