(((Long)info[16])==1)?baseFilename:"",// multi file? base_filename else ""
((Long)info[3]).intValue(),// rateDownload
((Long)info[3]).intValue(),// rateDownload
((Long)info[4]).intValue(),// rateUpload
((Long)info[4]).intValue(),// rateUpload
((Long)info[22]).intValue(),// seedersConnected
((Long)info[22]).intValue(),// seedersConnected
@ -479,7 +480,6 @@ public class RtorrentAdapter implements IDaemonAdapter {
// rTorrent uses the default dialect with 32-bit integers
// rTorrent uses the default dialect with 32-bit integers
intrateDownload=(Integer)info[3];
intrateDownload=(Integer)info[3];
StringbasePath=(String)info[16];
// @formatter:off
// @formatter:off
torrents.add(newTorrent(
torrents.add(newTorrent(
@ -487,7 +487,7 @@ public class RtorrentAdapter implements IDaemonAdapter {
(String)info[0],// hash
(String)info[0],// hash
(String)info[1],// name
(String)info[1],// name
convertTorrentStatus(((Integer)info[2]).longValue(),((Integer)info[13]).longValue(),((Integer)info[14]).longValue(),((Integer)info[15]).longValue()),// status
convertTorrentStatus(((Integer)info[2]).longValue(),((Integer)info[13]).longValue(),((Integer)info[14]).longValue(),((Integer)info[15]).longValue()),// status