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

Feature request - remove old seed but only if last activity is more than ... #39

Closed
Jorman opened this issue Sep 1, 2019 · 6 comments
Closed
Labels

Comments

@Jorman
Copy link

Jorman commented Sep 1, 2019

Hi, just like the tile, maybe one old torrent is in activity and one other older torrent is not in activity anymore, so is better to remove the old torrent that is no on activity.

What do you think?

@jerrymakesjelly
Copy link
Owner

Yes it will be more reasonable.

At present whether a torrent will be removed or not only depends on the information provided by the client, but none of them provide torrents' active information, therefore we need to record it by ourselves. I will add this feature in the future, but I can't add it in a short time.

Thank you for your suggestion.

@Jorman
Copy link
Author

Jorman commented Sep 14, 2019

Even with qBittorrent is not possible? I remember this project
https://github.com/fedarovich/qbittorrent-cli
But I don't remember if can be possible to see last activity

Thanks

@jerrymakesjelly
Copy link
Owner

Even with qBittorrent is not possible? I remember this project
https://github.com/fedarovich/qbittorrent-cli
But I don't remember if can be possible to see last activity

Thanks

I found that qBittorrent will actually returns last activity field in torrent list, but the Wiki doesn't mention it. This feature will be added soon.

@Jorman
Copy link
Author

Jorman commented Sep 18, 2019

Hi, sound's cool

Would be like

      seed_size:
        limit: 1000
        action: remove-old-seeds
          last_activity_min: 7 #minimum days of inactivity

Or what? What do you've in mind?

@jerrymakesjelly
Copy link
Owner

Yes, I will add a new action, which removes the inactive torrents (sort by the last activity field, remove the oldest active torrent from now first), just like #42 says (in Chinese).

And, another condition last_activity will be added, which allows user to remove those torrents which are inactive for some times.

But

        action: remove-old-seeds
          last_activity_min: 7 #minimum days of inactivity

may not be supported now, it needs an if expression mechanism.

@Jorman
Copy link
Author

Jorman commented Sep 18, 2019

Ok, thanks for you work

jerrymakesjelly added a commit that referenced this issue Sep 22, 2019
Reference to #21, closes #39, #42.
jerrymakesjelly added a commit that referenced this issue Sep 22, 2019
Reference to #21, closes #39, #42.
jerrymakesjelly added a commit that referenced this issue Jan 16, 2020
Reference to #21, closes #39, #42.
@jerrymakesjelly jerrymakesjelly mentioned this issue Feb 4, 2020
44 tasks
jerrymakesjelly added a commit that referenced this issue Feb 4, 2020
Reference to #21, closes #39, #42.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants