Index: src/input.php
===================================================================
--- src/input.php	(revision 0c51ffca9391b76a03260fd80c5a37599ec97cad)
+++ src/input.php	(revision 1d976d0b60a2751afc85e0519634316552a02ae8)
@@ -804,5 +804,5 @@
 		}
 
-		if ( !$xmlrpc->setrequest( "f.priority.set", array( $hash, $id, $filepriority ) ) || !$xmlrpc->call() ) {
+		if ( !$xmlrpc->setrequest( "f.priority.set", array( "${hash}:f${id}", $filepriority ) ) || !$xmlrpc->call() ) {
 			$_SESSION["rtwi_err"] = $xmlrpc->geterrors();
 			header( "location: {$tourl}" );
@@ -872,5 +872,5 @@
 		$len = strlen( $dir );
 
-		if ( !$xmlrpc->setrequest( "f.multicall", array( $hash, 0, "f.get_frozen_path=" ) ) || !$xmlrpc->call() || !$xmlrpc->parse() ) {
+		if ( !$xmlrpc->setrequest( "f.multicall", array( $hash, 0, "f.path=" ) ) || !$xmlrpc->call() || !$xmlrpc->parse() ) {
 			$_SESSION["rtwi_err"] = $xmlrpc->geterrors();
 			header( "location: {$tourl}" );
@@ -883,7 +883,10 @@
 		$params = array();
 		foreach ( $files as $key => $val ) {
+			if ( substr( $val[0], 0, 1 ) != "/" ) {
+				$val[0] = "/{$val[0]}";
+			}
 			if ( strpos( $val[0], $dir ) === 0 ) {
-				$request[] = "f.set_priority";
-				$params[] = array( $hash, $key, $dirpriority );
+				$request[] = "f.priority.set";
+				$params[] = array( "${hash}:f${key}", $dirpriority );
 				$filestochange[] = array( $key, $val[0] );
 				if ( $badpath == true ) {
