From 9abf27ca2f32240206d1dae3c55d2046372abf3f Mon Sep 17 00:00:00 2001 From: daniel oeh Date: Mon, 31 Mar 2014 19:47:06 +0200 Subject: [PATCH] Disabled downloading of episode images. closes #390 Uses too much bandwidth --- .../service/download/DownloadService.java | 26 ------------------- 1 file changed, 26 deletions(-) diff --git a/src/de/danoeh/antennapod/service/download/DownloadService.java b/src/de/danoeh/antennapod/service/download/DownloadService.java index 72e0852bb..f5883babc 100644 --- a/src/de/danoeh/antennapod/service/download/DownloadService.java +++ b/src/de/danoeh/antennapod/service/download/DownloadService.java @@ -678,32 +678,6 @@ public class DownloadService extends Service { ); } } - // download FeedItem images if provided and not downloaded - for (FeedItem item : savedFeed.getItems()) { - if (item.hasItemImage() && (!item.getImage().isDownloaded())) { - if (BuildConfig.DEBUG) - Log.d(TAG, "Item has image; Downloading...."); - try { - requester.downloadImage(DownloadService.this, - item.getImage()); - } catch (DownloadRequestException e) { - e.printStackTrace(); - DBWriter.addDownloadStatus( - DownloadService.this, - new DownloadStatus( - item.getImage(), - item - .getImage() - .getHumanReadableIdentifier(), - DownloadError.ERROR_REQUEST_ERROR, - false, e.getMessage() - ) - ); - } - } - } - - } catch (SAXException e) { successful = false; e.printStackTrace();