1. Erik Svensson
  2. transmissionrpc
  3. Issues
Issue #66 open

Completed vs. stopped downloads

oguzhanogreden
created an issue

Current value that is returned by Torrent.status does not differentiate between stopped and completed downloads.

If Transmission doesn't send relevant information, this can be implemented with a simple conditional statement that checks if progress of the "stopped" torrent returns 100.

Comments (2)

  1. Erik Svensson repo owner
    • changed status to open

    A new propery might be added since I'd like to be able to have a thin wrapper for the Transmission RPC protocol. Furthermore, when is a torrent finished? What about seed ratio?

  2. scott williams

    Likewise 'Paused' appears as 'stopped'. Looking as transmissionrpc source code there is only:

    TR_STATUS_STOPPED = 0, / Torrent is stopped / TR_STATUS_CHECK_WAIT = 1, / Queued to check files / TR_STATUS_CHECK = 2, / Checking files / TR_STATUS_DOWNLOAD_WAIT = 3, / Queued to download / TR_STATUS_DOWNLOAD = 4, / Downloading / TR_STATUS_SEED_WAIT = 5, / Queued to seed / TR_STATUS_SEED = 6 / Seeding /

    I wrote my own script to automatically remove stopped or completed downloads, however the paused ones were being removed as well. I have since updated it to ensure that it is completed AND stopped before removing. My attempt

  3. Log in to comment