@ -230,7 +230,7 @@ public class PreferencesXirvikServer extends PreferenceActivity {
@@ -230,7 +230,7 @@ public class PreferencesXirvikServer extends PreferenceActivity {
@ -53,7 +53,7 @@ public abstract class GoogleWebSearchBarcodeResolver extends AsyncTask<String,
@@ -53,7 +53,7 @@ public abstract class GoogleWebSearchBarcodeResolver extends AsyncTask<String,
<stringname="rss_nosettings">You have not defined any RSS feeds yet to monitor. Torrent-specific RSS feeds keep you up to date with new releases and you are notified of new items.</string>
<stringname="rss_noselection">Select an RSS feed to view the new items</string>
<stringname="rss_empty">The RSS feed is not available or it contains no items</string>
<stringname="rss_notloaded">Sorry, please wait until the RSS feed is loaded</string>
<stringname="rss_error">Sorry, this RSS feed could not be loaded at this time</string>
<pluralsname="rss_itemsselected">
<itemquantity="one">%1$d item selected</item>
<itemquantity="other">%1$d items selected</item>
@ -140,6 +143,8 @@
@@ -140,6 +143,8 @@
<stringname="pref_name_optional">Optional personal name</string>
@ -17,11 +17,13 @@ public class WebsearchSetting implements SimpleListItem {
@@ -17,11 +17,13 @@ public class WebsearchSetting implements SimpleListItem {
@ -43,6 +45,10 @@ public class WebsearchSetting implements SimpleListItem {
@@ -43,6 +45,10 @@ public class WebsearchSetting implements SimpleListItem {
@ -59,9 +59,22 @@ public class RssfeedsActivity extends SherlockFragmentActivity {
@@ -59,9 +59,22 @@ public class RssfeedsActivity extends SherlockFragmentActivity {
// For each RSS feed setting the user created, start a loader that retrieved the RSS feed (via a background
// thread) and, on success, determines the new items in the feed
@ -73,28 +86,21 @@ public class RssfeedsActivity extends SherlockFragmentActivity {
@@ -73,28 +86,21 @@ public class RssfeedsActivity extends SherlockFragmentActivity {
@ -113,15 +119,46 @@ public class RssfeedsActivity extends SherlockFragmentActivity {
@@ -113,15 +119,46 @@ public class RssfeedsActivity extends SherlockFragmentActivity {
@ -51,7 +51,7 @@ public class RssitemsActivity extends SherlockFragmentActivity {
@@ -51,7 +51,7 @@ public class RssitemsActivity extends SherlockFragmentActivity {
@ -33,9 +34,11 @@ public class RssitemsFragment extends SherlockFragment {
@@ -33,9 +34,11 @@ public class RssitemsFragment extends SherlockFragment {
@InstanceState
protectedChannelrssfeed=null;
@InstanceState
protectedbooleanhasError=false;
// Views
@ViewById(resName="rssfeeds_list")
@ViewById(resName="rssitems_list")
protectedSherlockListViewrssitemsList;
@Bean
protectedRssitemsAdapterrssitemsAdapter;
@ -48,17 +51,34 @@ public class RssitemsFragment extends SherlockFragment {
@@ -48,17 +51,34 @@ public class RssitemsFragment extends SherlockFragment {
// Set up the list adapter, which allows multi-select
@ -102,8 +121,8 @@ public class RssitemsFragment extends SherlockFragment {
@@ -102,8 +121,8 @@ public class RssitemsFragment extends SherlockFragment {
@ -30,6 +30,7 @@ public class WebsearchSettingsActivity extends KeyBoundPreferencesActivity {
@@ -30,6 +30,7 @@ public class WebsearchSettingsActivity extends KeyBoundPreferencesActivity {
@ -253,7 +253,7 @@ public class BitCometAdapter implements IDaemonAdapter {
@@ -253,7 +253,7 @@ public class BitCometAdapter implements IDaemonAdapter {
@ -288,7 +288,7 @@ public class BitCometAdapter implements IDaemonAdapter {
@@ -288,7 +288,7 @@ public class BitCometAdapter implements IDaemonAdapter {
@ -307,7 +307,7 @@ public class BitCometAdapter implements IDaemonAdapter {
@@ -307,7 +307,7 @@ public class BitCometAdapter implements IDaemonAdapter {
@ -340,7 +340,7 @@ public class BitCometAdapter implements IDaemonAdapter {
@@ -340,7 +340,7 @@ public class BitCometAdapter implements IDaemonAdapter {
@ -364,7 +364,7 @@ public class BitCometAdapter implements IDaemonAdapter {
@@ -364,7 +364,7 @@ public class BitCometAdapter implements IDaemonAdapter {
@ -178,7 +178,7 @@ public class BuffaloNasAdapter implements IDaemonAdapter {
@@ -178,7 +178,7 @@ public class BuffaloNasAdapter implements IDaemonAdapter {
@ -273,7 +273,7 @@ public class DLinkRouterBTAdapter implements IDaemonAdapter {
@@ -273,7 +273,7 @@ public class DLinkRouterBTAdapter implements IDaemonAdapter {
// If the upload succeeded, add the torrent file on the server
// For this we need the file name, which is now send as a JSON object like:
@ -477,7 +477,7 @@ public class DelugeAdapter implements IDaemonAdapter {
@@ -477,7 +477,7 @@ public class DelugeAdapter implements IDaemonAdapter {
// Still no session cookie?
if(sessionCookie==null){
// Set error message and cancel the action that was requested
thrownewDaemonException(ExceptionType.AuthenticationFailure,"Password error? Server time difference? No (valid) cookie in response and JSON was: "+HttpHelper.ConvertStreamToString(instream));
thrownewDaemonException(ExceptionType.AuthenticationFailure,"Password error? Server time difference? No (valid) cookie in response and JSON was: "+HttpHelper.convertStreamToString(instream));
}
}
@ -509,7 +509,7 @@ public class DelugeAdapter implements IDaemonAdapter {
@@ -509,7 +509,7 @@ public class DelugeAdapter implements IDaemonAdapter {
@ -293,7 +293,7 @@ public class KtorrentAdapter implements IDaemonAdapter {
@@ -293,7 +293,7 @@ public class KtorrentAdapter implements IDaemonAdapter {
@ -358,7 +358,7 @@ public class KtorrentAdapter implements IDaemonAdapter {
@@ -358,7 +358,7 @@ public class KtorrentAdapter implements IDaemonAdapter {
// Read response (a successful action always returned '1')
@ -407,7 +407,7 @@ public class KtorrentAdapter implements IDaemonAdapter {
@@ -407,7 +407,7 @@ public class KtorrentAdapter implements IDaemonAdapter {
// Read response (a successful action always returned '1')
@ -306,7 +306,7 @@ public class QbittorrentAdapter implements IDaemonAdapter {
@@ -306,7 +306,7 @@ public class QbittorrentAdapter implements IDaemonAdapter {
@ -427,7 +427,7 @@ public class SynologyAdapter implements IDaemonAdapter {
@@ -427,7 +427,7 @@ public class SynologyAdapter implements IDaemonAdapter {
@ -396,17 +396,20 @@ public class TransmissionAdapter implements IDaemonAdapter {
@@ -396,17 +396,20 @@ public class TransmissionAdapter implements IDaemonAdapter {
}
// Execute
DLog.d(LOG_NAME,"Execute "+data.getString("method")+" request to "+httppost.getURI().toString());
@ -418,12 +421,13 @@ public class TransmissionAdapter implements IDaemonAdapter {
@@ -418,12 +421,13 @@ public class TransmissionAdapter implements IDaemonAdapter {
@ -302,7 +302,7 @@ public class UtorrentAdapter implements IDaemonAdapter {
@@ -302,7 +302,7 @@ public class UtorrentAdapter implements IDaemonAdapter {
thrownewDaemonException(ExceptionType.AuthenticationFailure,"Response was '"+result.replace("\n","")+"' instead of a proper JSON object (and we used auth token '"+authtoken+"')");
@ -341,7 +341,7 @@ public class UtorrentAdapter implements IDaemonAdapter {
@@ -341,7 +341,7 @@ public class UtorrentAdapter implements IDaemonAdapter {
thrownewDaemonException(ExceptionType.ConnectionError,"Not found (404); server doesn't exist or is inaccessible");
@ -366,7 +366,7 @@ public class UtorrentAdapter implements IDaemonAdapter {
@@ -366,7 +366,7 @@ public class UtorrentAdapter implements IDaemonAdapter {