-
-
Notifications
You must be signed in to change notification settings - Fork 93
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
Ratio and seed_time #116
Comments
Hello, I'm doing OK, thank you 🙂 |
Download.seed_ratio will return Seed time: On bt_download_complete or when Download.seeder is True we should save the start_time |
That's great, thanks a lot! I'll see if I can incorporate this in the code soon 🙂 A PR is also welcome of course 😄 |
Yeah i will try to read how ur code works, if it's simple and direct then i will open PR. |
I was reading now. I have no idea how to save the start time for seed after on_bt_download_complete in efficient way. This the only problem, the rest is very simple. |
Just so you know, I've seen your last comment but didn't get the chance to answer yet. I'll keep this closed because if aria2 doesn't provide start time, it will be hard to provide it ourselves, but I'd still like to think about it a bit :) |
It's ok 👍 |
Hello, I think seed ratio should be added, aria2c reports it while seeding a torrent |
Hi @iambeingtracked, would you to send a PR for it? It's a pretty easy addition 🙂 |
Yeqh seed ratio is easy to add but seed time need to save onComplete time and save it with gid |
Seed time will be much more complicated indeed. It can be done in another PR if someone wants to try and tackle it. |
It can be done. Add global dict key: gid, value: complete_time when download complete if not metadata. And if torrent removed check if gid in dict and remove it. But this also need to use threading.Lock with it. |
Hi there, any progress on this thread? |
It's in my saved notifications. Pull requests are welcome 🙂 |
Maybe in couples of days |
Hi, hope you doing well
Can you add seed_ratio and seed_time in download class. So we can view how much this torrent has seed time and seed ratio.
Thanks
Boost priority
The text was updated successfully, but these errors were encountered: