summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-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());