It appears that the transmission RPC api is rather picky about what it accepts as arguments. I don't know if there it is necessary to have a mapping of arguments to fields or if this will just work.
This at least fixes my problem.
Make _normal2Camel recurse as well
_camel2Normal would take a hashref as an argument, but I needed
hash keys to be able to go the other way as well.
At least it got less readable which appears to be a goal of this set of subs
Send rpc %args through _normal2Camel
Transmission likes things (specifically download-dir in my case) to have
dashes not underscores.
This fixes all the args up so you can generally use either.
Released version 0.07
- Fix test failures due to hash randomization (RT #81561)
Merge pull request #3 from afresh1/master
- Make fields parameter to read_torrents overrideable
Merge pull request #5 from olof/topic/override_fields