summaryrefslogtreecommitdiff
path: root/core/src
diff options
context:
space:
mode:
authorByteHamster <info@bytehamster.com>2020-05-01 14:39:18 +0200
committerByteHamster <info@bytehamster.com>2020-05-01 14:39:23 +0200
commit16b7aa7424a45f7ebd66352767e57688cf43be8f (patch)
tree4224a18341e4f88da1dd966da6aae73b9f41bff2 /core/src
parentdf47dd37ef6f7e12d0500f8061f9ab8341256e69 (diff)
downloadAntennaPod-16b7aa7424a45f7ebd66352767e57688cf43be8f.zip
Fixed feed image tests
Diffstat (limited to 'core/src')
-rw-r--r--core/src/play/java/de/danoeh/antennapod/core/cast/CastUtils.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/play/java/de/danoeh/antennapod/core/cast/CastUtils.java b/core/src/play/java/de/danoeh/antennapod/core/cast/CastUtils.java
index 455850cd0..f01a8b638 100644
--- a/core/src/play/java/de/danoeh/antennapod/core/cast/CastUtils.java
+++ b/core/src/play/java/de/danoeh/antennapod/core/cast/CastUtils.java
@@ -100,8 +100,8 @@ public class CastUtils {
metadata.putString(MediaMetadata.KEY_SUBTITLE, subtitle);
}
- if (!TextUtils.isEmpty(feedItem.getImageUrl())) {
- metadata.addImage(new WebImage(Uri.parse(feedItem.getImageUrl())));
+ if (!TextUtils.isEmpty(feedItem.getImageLocation())) {
+ metadata.addImage(new WebImage(Uri.parse(feedItem.getImageLocation())));
}
Calendar calendar = Calendar.getInstance();
calendar.setTime(media.getItem().getPubDate());