Opened 8 years ago

Closed 8 years ago

#5262 closed Enhancement (invalid)

not start without torrent(s) ?

Reported by: SavedCoder Owned by: jordan
Priority: Low Milestone:
Component: GTK+ Client Version: 2.76
Severity: Trivial Keywords: minimized
Cc:

Description

Could you add a command-line argument (to go with --minimized) that will cause the client to not start if it has no torrent(s) to work on?

Change History (3)

comment:1 Changed 8 years ago by jordan

What is the use case for this?

comment:2 Changed 8 years ago by SavedCoder

I have my system configured to start Transmission (--minimized) on startup. This works great when I have a torrent going, but this way Transmission always loads --even when it has nothing to do. I know it's light on resources, but it would be nice if there was a way to have it only load when there was work for it to do.

comment:3 Changed 8 years ago by jordan

  • Milestone Sometime deleted
  • Resolution set to invalid
  • Status changed from new to closed

I think I'm going to pass on putting this into Transmission proper, but you should be able to write a short script to connect to transmission via the RPC interface, count the number of torrents, and exit iff the count is zero.

Note: See TracTickets for help on using tickets.