diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-08-02 15:17:24 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-08-02 15:17:24 +0200 |
commit | 58f38f399387b44b956e785e1d578d0f621354e6 (patch) | |
tree | 8e9a6bb9f659db8f58d73b0c416572a8212abfcf /module/remote/thriftbackend/thriftgen/pyload/Pyload-remote | |
parent | youtube, new file format (diff) | |
download | pyload-58f38f399387b44b956e785e1d578d0f621354e6.tar.xz |
fixes, cleanup, summary for each package
Diffstat (limited to 'module/remote/thriftbackend/thriftgen/pyload/Pyload-remote')
-rwxr-xr-x | module/remote/thriftbackend/thriftgen/pyload/Pyload-remote | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/module/remote/thriftbackend/thriftgen/pyload/Pyload-remote b/module/remote/thriftbackend/thriftgen/pyload/Pyload-remote index 8c2b368e1..fd48556dd 100755 --- a/module/remote/thriftbackend/thriftgen/pyload/Pyload-remote +++ b/module/remote/thriftbackend/thriftgen/pyload/Pyload-remote @@ -70,7 +70,7 @@ if len(sys.argv) <= 1 or sys.argv[1] == '--help': print ' void stopDownloads( fids)' print ' void setPackageName(PackageID pid, string name)' print ' void movePackage(Destination destination, PackageID pid)' - print ' void setPriority(PackageID pid, Priority priority)' + print ' void moveFiles( fids, PackageID pid)' print ' void orderPackage(PackageID pid, i16 position)' print ' void orderFile(FileID fid, i16 position)' print ' void setPackageData(PackageID pid, data)' @@ -424,11 +424,11 @@ elif cmd == 'movePackage': sys.exit(1) pp.pprint(client.movePackage(eval(args[0]),eval(args[1]),)) -elif cmd == 'setPriority': +elif cmd == 'moveFiles': if len(args) != 2: - print 'setPriority requires 2 args' + print 'moveFiles requires 2 args' sys.exit(1) - pp.pprint(client.setPriority(eval(args[0]),eval(args[1]),)) + pp.pprint(client.moveFiles(eval(args[0]),eval(args[1]),)) elif cmd == 'orderPackage': if len(args) != 2: |