script for starting torrent as 'paused'

Discussion of Transmission that doesn't fit in the other categories
Post Reply
crs2027
Posts: 1
Joined: Wed Dec 09, 2009 2:36 am

script for starting torrent as 'paused'

Post by crs2027 »

Hey all,

I have a script that I run to monitor 2 folders for torrents, in one folder torrents are automatically added to transmission and the downloading begins! this is working just as I want:

transmission-remote -a "$file"

Now I want to do the same in another folder, however I would like this to do the same BUT add torrents as a stopped / paused state.

I cant figure out how to do this, transmission-remote wants to know which torrent to stop - but this would mean I have to: 1) add the torrent 2) find the torrent I just added and 3) stop the torrent..

any clues?

many thanks!!!!!!!
jarod
Posts: 2
Joined: Sat May 01, 2010 11:17 pm

Re: script for starting torrent as 'paused'

Post by jarod »

Hi,

I'm also interested in adding a torrent as paused. Is there a way to do that (besides transmission-remote -a <torrent> && transmission-remote -t<torrent-id> -S)?

Thanks
Longinus00
Posts: 137
Joined: Fri Aug 21, 2009 5:46 am

Re: script for starting torrent as 'paused'

Post by Longinus00 »

I believe ticket 2921 (http://trac.transmissionbt.com/ticket/2921) means you can now do transmission-remote -a <torrent> -S. You'll have to run a nightly version of transmission to test this out.
Jordan
Transmission Developer
Posts: 2312
Joined: Sat May 26, 2007 3:39 pm
Location: Titania's Room

Re: script for starting torrent as 'paused'

Post by Jordan »

That was one of my test cases when rewriting the transmission-remote command-line parser. I'm sure that transmission-remote -a filename -S works in the nightlies and will work in 2.00.
jarod
Posts: 2
Joined: Sat May 01, 2010 11:17 pm

Re: script for starting torrent as 'paused'

Post by jarod »

Thanks for the update. I'll probably wait for the release and report back then.
Post Reply