Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 1022 Bytes

RPC-Migration-0.9.md

File metadata and controls

33 lines (23 loc) · 1022 Bytes

Migration

SED Scripts

Introduction

As of rTorrent 0.9.0 a large number of commands have had their names changed and all now require a target. The old command names and behavior were replaced with aliases and marked for deprecation.

Deprecated aliases are not added when you pass rTorrent 0.9.6 the options -D -I on startup. Note that in versions below 0.9.6 these options behave differently.

Example

for i in `find . -name \*.php -or -name \*.js`; do
  sed -f ~/rtorrent/doc/scripts/update_commands_0.9.sed $i > $i.tmp;
  mv $i.tmp $i;
done

Modify the migration files as needed. It contains two sets of the same translations, one ending with a quote and another that ends with equal sign.

Notes

  • "d.multicall" was renamed d.multicall2 and now requires a target. (add a blank string as the first argument)
  • Add empty target for execute* commands.