From f6b45e7162ce3909cb2b04a4124e71aad22240c6 Mon Sep 17 00:00:00 2001 From: ByteHamster Date: Sat, 23 Mar 2024 11:27:55 +0100 Subject: Rename FeedMedia methods to no longer have underscores (#7017) --- .../net/download/serviceinterface/DownloadRequestBuilder.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'net/download') 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; -- cgit v1.2.3