diff --git a/src/de/danoeh/antennapod/syndication/namespace/atom/NSAtom.java b/src/de/danoeh/antennapod/syndication/namespace/atom/NSAtom.java index 1b1ed8730..f9963133b 100644 --- a/src/de/danoeh/antennapod/syndication/namespace/atom/NSAtom.java +++ b/src/de/danoeh/antennapod/syndication/namespace/atom/NSAtom.java @@ -72,10 +72,9 @@ public class NSAtom extends Namespace { if (strSize != null) size = Long.parseLong(strSize); String type = attributes.getValue(LINK_TYPE); - String download_url = attributes - .getValue(LINK_REL_ENCLOSURE); + state.getCurrentItem().setMedia( - new FeedMedia(state.getCurrentItem(), download_url, + new FeedMedia(state.getCurrentItem(), href, size, type)); } else if (rel.equals(LINK_REL_PAYMENT)) { state.getCurrentItem().setPaymentLink(href);