Is "location" required for "torrent-set-location"?

Ask for help and report issues not specific to either the Mac OS X or GTK+ versions of Transmission
Post Reply
wonko
Posts: 3
Joined: Mon Nov 14, 2011 6:56 pm

Is "location" required for "torrent-set-location"?

Post by wonko »

The RPC Spec doesn't make mention of this but it seems like it really would be required. You can't move something if you don't know where you are moving it to. :)

I'm writing a Java library to access Transmission via the API and just wanted to see if I should enforce the location argument for this method.

Thanks!

-brian
blacke4dawn
Posts: 552
Joined: Sun Dec 13, 2009 10:44 pm

Re: Is "location" required for "torrent-set-location"?

Post by blacke4dawn »

Haven't read the specs myself but unless it says something like that the default location will be used if none supplied then it's kinda self evident that it's needed. Personally I would go the safe route and enforce it for now.
wonko
Posts: 3
Joined: Mon Nov 14, 2011 6:56 pm

Re: Is "location" required for "torrent-set-location"?

Post by wonko »

That's probably not a bad idea for the time being until I get a more definitive answer or bother to look at the code myself.

Which I should probably just buck up and do anyway. :)

Thanks!

-brian
Post Reply