diff options
Diffstat (limited to 'net')
2 files changed, 3 insertions, 3 deletions
diff --git a/net/download/service-interface/src/main/java/de/danoeh/antennapod/net/download/serviceinterface/DownloadRequestBuilder.java b/net/download/service-interface/src/main/java/de/danoeh/antennapod/net/download/serviceinterface/DownloadRequestBuilder.java index 15d2858bc..35a801537 100644 --- a/net/download/service-interface/src/main/java/de/danoeh/antennapod/net/download/serviceinterface/DownloadRequestBuilder.java +++ b/net/download/service-interface/src/main/java/de/danoeh/antennapod/net/download/serviceinterface/DownloadRequestBuilder.java @@ -21,7 +21,7 @@ public class DownloadRequestBuilder { public DownloadRequestBuilder(@NonNull String destination, @NonNull FeedMedia media) { this.destination = destination; - this.source = UrlChecker.prepareUrl(media.getDownload_url()); + this.source = UrlChecker.prepareUrl(media.getDownloadUrl()); this.title = media.getHumanReadableIdentifier(); this.feedfileId = media.getId(); this.feedfileType = FeedMedia.FEEDFILETYPE_FEEDMEDIA; @@ -29,7 +29,7 @@ public class DownloadRequestBuilder { public DownloadRequestBuilder(@NonNull String destination, @NonNull Feed feed) { this.destination = destination; - this.source = feed.isLocalFeed() ? feed.getDownload_url() : UrlChecker.prepareUrl(feed.getDownload_url()); + this.source = feed.isLocalFeed() ? feed.getDownloadUrl() : UrlChecker.prepareUrl(feed.getDownloadUrl()); this.title = feed.getHumanReadableIdentifier(); this.feedfileId = feed.getId(); this.feedfileType = Feed.FEEDFILETYPE_FEED; diff --git a/net/sync/model/src/main/java/de/danoeh/antennapod/net/sync/model/EpisodeAction.java b/net/sync/model/src/main/java/de/danoeh/antennapod/net/sync/model/EpisodeAction.java index 42fbdb310..0efa2b847 100644 --- a/net/sync/model/src/main/java/de/danoeh/antennapod/net/sync/model/EpisodeAction.java +++ b/net/sync/model/src/main/java/de/danoeh/antennapod/net/sync/model/EpisodeAction.java @@ -239,7 +239,7 @@ public class EpisodeAction { private String guid; public Builder(FeedItem item, Action action) { - this(item.getFeed().getDownload_url(), item.getMedia().getDownload_url(), action); + this(item.getFeed().getDownloadUrl(), item.getMedia().getDownloadUrl(), action); this.guid(item.getItemIdentifier()); } |