Opened 11 years ago

Closed 10 years ago

Last modified 10 years ago

#2281 closed patch (WontFix)

[PATCH] Add total_wanted_done into status and display in UI

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

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 tyeken8 11 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 Changed 11 years ago by tyeken8

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 Changed 11 years ago by tyeken8

  • Cc Tydus@… 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 Changed 10 years ago by Cas

  • Resolution set to WontFix
  • Status changed from new to closed

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 Changed 10 years ago by Cas

  • Milestone changed from 1.4.0 to Future
Note: See TracTickets for help on using tickets.