@ -277,10 +282,8 @@ public class RtorrentAdapter implements IDaemonAdapter {
@@ -277,10 +282,8 @@ public class RtorrentAdapter implements IDaemonAdapter {
// Parse torrent list from response
// Formatted as Object[][], see http://libtorrent.rakshasa.no/wiki/RTorrentCommands#Download
// 'Labels' are supported in rTorrent as 'groups' that can become the 'active view';
// support for this is not trivial since it requires multiple calls to get all the info at best
// (if it is even feasible with the current approach)
@ -296,7 +299,7 @@ public class RtorrentAdapter implements IDaemonAdapter {
@@ -296,7 +299,7 @@ public class RtorrentAdapter implements IDaemonAdapter {
}catch(NumberFormatExceptione){
// Not a number (timestamp); ignore and fall back to using creationtime
}
if(addtime!=null)
if(addtime!=null)
// Successfully received the addtime from rTorrent (which is a String like '1337089336\n')
added=newDate(addtime*1000L);
else{
@ -315,7 +318,7 @@ public class RtorrentAdapter implements IDaemonAdapter {
@@ -315,7 +318,7 @@ public class RtorrentAdapter implements IDaemonAdapter {
}catch(NumberFormatExceptione){
// Not a number (timestamp); ignore and fall back to using creationtime
}
if(seedingtime!=null)
if(seedingtime!=null)
// Successfully received the seedingtime from rTorrent (which is a String like '1337089336\n')
finished=newDate(seedingtime*1000L);
@ -323,7 +326,13 @@ public class RtorrentAdapter implements IDaemonAdapter {
@@ -323,7 +326,13 @@ public class RtorrentAdapter implements IDaemonAdapter {
@ -388,6 +397,11 @@ public class RtorrentAdapter implements IDaemonAdapter {
@@ -388,6 +397,11 @@ public class RtorrentAdapter implements IDaemonAdapter {