Quit when all downloads complete

Discussion of Transmission that doesn't fit in the other categories
Post Reply
jeff526
Posts: 2
Joined: Wed Apr 06, 2011 3:42 am

Quit when all downloads complete

Post by jeff526 »

I do not see a setting in Transmission to quit the app once all downloads are complete.
I created an Applescript to quit Transmission and added this to the "Call Scrip" preference, but this did not work.
Is this possible?
killemov
Posts: 573
Joined: Sat Jul 31, 2010 5:04 pm

Re: Quit when all downloads complete

Post by killemov »

Yes it is possible to exit transmission when all the downloads are complete.

Take a good hard look at the options for transmission remote. Here are some examples for Debian. You may want to change it for mac use.

This yields the number of torrents that are not done:
transmission-remote -n $USERNAME:$PASSWORD -l | grep -v " Done " | grep -v "^Sum" | wc -l

This, well, exits transmission.
transmission-remote -n $USERNAME:$PASSWORD --exit

good luck,

K.
anchorboi
Posts: 5
Joined: Thu Nov 27, 2008 11:17 am

Re: Quit when all downloads complete

Post by anchorboi »

Ah, I saw this thread too late. Could anybody elaborate on how exactly I would go about setting this up on a Mac? :?: I have no experience with transmission remote and scripting.
Post Reply