Opened 11 years ago

Closed 11 years ago

#3886 closed Enhancement (invalid)

Implement RPC call for "Resume All" to maintain torrent state before "Pause All"

Reported by: oh_noes Owned by: jordan
Priority: Normal Milestone: None Set
Component: Daemon Version: 2.13
Severity: Normal Keywords:
Cc:

Description

Please implement a feature to 'Pause All' and 'Resume All' torrents (similar to uTorrent) .

This will allow a user to stop all torrents, but more importantly resume the previous state of torrents.

For example, if a user has 20 torrents, 10 stopped, 5 Downloading and 5 Seeding. Currently this user will need to manually Pause all of them and then manually find then Start up the same torrents to re-enter the same state.

This enhancement will alleviate this problem.

Change History (7)

comment:1 Changed 11 years ago by livings124

Not sure which OS/UI you're using, but I'm pretty sure most (all?) have this.

Edit: now I see, you mean RPC call.

Last edited 11 years ago by livings124 (previous) (diff)

comment:2 Changed 11 years ago by jordan

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

Hi oh_noes,

Applying a command to all torrents via RPC is already available.

Please see the "Request arguments" section of "3.1. Torrent Action Requests" in the spec.

comment:3 Changed 11 years ago by oh_noes

  • Resolution worksforme deleted
  • Status changed from closed to reopened
  • Summary changed from Implement RPC calls to Pause All/Resume All maintaining torrent state to Implement RPC call for "Resume All" to maintain torrent state before "Pause All"

Hi livings124 and jordan,

Apologies for the late reply and thanks for taking time to look at this.

Thanks for alerting me to the "Pause All" and "Start All" RPC calls. I'd like to add to this, and implement a new RPC called named "Resume All"

"Resume All" will keep the state of the contents before they were paused.

An example, if transmission-daemon has 200 torrents, at any one time I might have 150 Stopped but 50 active. I think it would be beneficial for transmissionbt to support "Pause All" BUT THEN be able to "Resume All" and keep the same state of all torrents before Pause All (150 Stopped, 50 started). At the moment you need to manually return all torrents back to there original state as "Start All" will start all 200.

(I will modify the original post and rename this ticket)

comment:4 Changed 11 years ago by jordan

  • Component changed from Transmission to Daemon
  • Milestone changed from None Set to 2.30
  • Owner set to jordan
  • Status changed from reopened to new

This is a good idea IMO

comment:5 Changed 11 years ago by jordan

  • Milestone changed from 2.30 to None Set

Actually I'm not so sure about this.. what happens if torrents are added or removed after the "pause all"?

I guess what would happen is Transmission would have to remember the IDs of all the torrents last paused during "pause all." ... which is something that the remote controls could do on their own to implement a "resume all" at the client level, rather than inside libtransmission.

What is the use case for this?

comment:6 Changed 11 years ago by livings124

To add my two cents, I can't think of a way to implement this that wouldn't cause confusion.

comment:7 Changed 11 years ago by jordan

  • Resolution set to invalid
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.