Opened 12 years ago

Closed 11 years ago

Last modified 11 years ago

#2281 closed patch (WontFix)

[PATCH] Add total_wanted_done into status and display in UI

Reported by: Tydus Owned by:
Priority: major Milestone: Future
Component: Core Version: master
Keywords: Cc: Tydus@Tydus.org

Description

I'm writing a plugin for deluge and I wan't to get the on-disk size of a torrent. I found status.total_wanted_done is the nearest, but it's strange that it cannot be seen from torrent.get_status(). I used to use uTorrent and it has both "total size, total wanted, total wanted done" on its UI, but it seems deluge only have the 2nd one?

https://github.com/qbittorrent/qBittorrent/pull/300 has the comparation between all_time_download and total_wanted_done.

Attachments (1)

0001-Add-total_wanted_done-to-core-and-both-uis.patch (4.0 KB ) - added by Tydus 12 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 by Tydus, 12 years ago

Well I found a workaround on it, to use total_wanted and progress to calculate it. I want to know if you have some better workarounds.

comment:2 by Tydus, 12 years ago

Cc: Tydus@Tydus.org added

My requirement is to calculate how much disk space does the torrent use, maybe total_done is better than total_wanted_done?

comment:3 by Calum, 11 years ago

Resolution: WontFix
Status: newclosed

You are correct total_done is what you need, I have just implemented a Remaining column in #265 which is total_wanted - total_wanted_done so now I don't see any need to expose total_wanted_done in core.

comment:4 by Calum, 11 years ago

Milestone: 1.4.0Future
Note: See TracTickets for help on using tickets.