Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Replace upload rate with seed ratio in compact mode.

If a torrent's upload speed is currently zero, display the seed ratio
instead. This seems to be a good compromise between space conservation
in compact mode and availability of information, since the upload speed bar
would normally be empty when not uploading, thus being largely useless.
  • Loading branch information...
1 parent a0d97e5 commit d468781d7c36b9417b12a4bfa57951cfce102b44 @Oddegamra Oddegamra committed
Showing with 4 additions and 0 deletions.
  1. +4 −0
@@ -1510,6 +1510,10 @@ def draw_torrentlist_item(self, torrent, focused, compact, y):
return 3 # number of lines that were used for drawing the list item
+ # Draw ratio in place of upload rate if upload rate = 0
+ if not torrent['rateUpload']:
+ self.draw_ratio(torrent, y - 1)
return 1
def draw_downloadrate(self, torrent, ypos):

0 comments on commit d468781

Please sign in to comment.
Something went wrong with that request. Please try again.