Package: bittornado
Version: 0.3.17-1
Severity: wishlist

Hello

I've always been annoyed by the fact that btlaunchmanycurses
doesn't show how much has been uploaded/download when the
client is not connected to any peers (or seeding).
This patch should add that output. Now it says e.g.

  seeding (100.0%) - 536.6MiB dn 374.6MiB up

rather than just

  seeding (100.0%)

Please let me know what you think about the patch.

Regards,

Oskar Liljeblad

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17.7
Locale: LANG=C, LC_CTYPE=en_GB (charmap=ISO-8859-1)

Versions of packages bittornado depends on:
ii  python                        2.4.4-1    An interactive high-level object-o
ii  python-support                0.5.6      automated rebuilding support for p

Versions of packages bittornado recommends:
ii  mime-support                  3.39-1     MIME files 'mime.types' & 'mailcap

-- no debconf information
--- btlaunchmanycurses.bittornado.orig  2007-01-17 07:08:15.000000000 +0100
+++ btlaunchmanycurses.bittornado       2007-01-18 13:08:14.000000000 +0100
@@ -209,7 +209,9 @@
                                 progress, status, peers, seeds, dist,
                                 fmtsize(upamt), fmtsize(dnamt) )
             else:
-                datastr = '    '+status+' ('+progress+')'
+                datastr = '    %s (%s) - %s dn %s up' % (
+                                status, progress,
+                                fmtsize(upamt), fmtsize(dnamt) )
             self._display_line(datastr)
             self._display_line('    '+ljust(msg,self.mainwinw-4))
             i += 1

Reply via email to