1. Erik Svensson
  2. transmissionrpc

Commits

Erik Svensson  committed 8d7a345

Add support for 'torrent-get' fields 'secondsDownloading' and 'secondsSeeding'. Issue #51.

  • Participants
  • Parent commits 44b65b0
  • Branches default

Comments (0)

Files changed (1)

File transmissionrpc/constants.py

View file
  • Ignore whitespace
         'rateDownload':                 ('number', 1, None, None, None, 'Download rate in bps.'),
         'rateUpload':                   ('number', 1, None, None, None, 'Upload rate in bps.'),
         'recheckProgress':              ('double', 1, None, None, None, 'Progress of recheck. 0.0 to 1.0.'),
+        'secondsDownloading':           ('number', 15, None, None, None, ''),
+        'secondsSeeding':               ('number', 15, None, None, None, ''),
         'scrapeResponse':               ('string', 1, 7, None, None, 'Scrape response message.'),
         'scrapeURL':                    ('string', 1, 7, None, None, 'Current scrape URL'),
         'seeders':                      ('number', 1, 7, None, None, 'Number of seeders reported by the tracker.'),