- hide remoterss toolbar button if no server configured/connected
- show all recent remote feed items in the last month by default ordered by -date
- show "all recent" in rss feeds filter menu
- renamed RemoteRssChannel.getFiles() to getItems()
- RemoteRssItem.timestamp is now of type Date
- sort feeds by name upon fetch
- fragment_remoterss.xml now shows the right item in layout editor
@ -54,8 +61,15 @@ public class RemoteRssActivity extends AppCompatActivity {
@@ -54,8 +61,15 @@ public class RemoteRssActivity extends AppCompatActivity {
@ -92,17 +106,13 @@ public class RemoteRssActivity extends AppCompatActivity {
@@ -92,17 +106,13 @@ public class RemoteRssActivity extends AppCompatActivity {
@ -322,8 +332,57 @@ public class RemoteRssActivity extends AppCompatActivity {
@@ -322,8 +332,57 @@ public class RemoteRssActivity extends AppCompatActivity {
@ -333,6 +335,13 @@ public class UtorrentAdapter implements IDaemonAdapter {
@@ -333,6 +335,13 @@ public class UtorrentAdapter implements IDaemonAdapter {
@ -16,7 +19,11 @@ public class UTorrentRemoteRssItem extends RemoteRssItem {
@@ -16,7 +19,11 @@ public class UTorrentRemoteRssItem extends RemoteRssItem {
name=json.getString(0);
title=json.getString(1);
link=json.getString(2);
timestamp=json.getLong(5);
Calendarcalendar=Calendar.getInstance();
calendar.setTimeInMillis(json.getLong(5)*1000);
timestamp=calendar.getTime();
// season = json.getInt(6);
// episode = json.getInt(7);
}
@ -37,7 +44,7 @@ public class UTorrentRemoteRssItem extends RemoteRssItem {
@@ -37,7 +44,7 @@ public class UTorrentRemoteRssItem extends RemoteRssItem {
title=in.readString();
link=in.readString();
sourceName=in.readString();
timestamp=in.readLong();
timestamp=(Date)in.readSerializable();
// season = in.readInt();
// episode = in.readInt();
}
@ -48,7 +55,7 @@ public class UTorrentRemoteRssItem extends RemoteRssItem {
@@ -48,7 +55,7 @@ public class UTorrentRemoteRssItem extends RemoteRssItem {