diff options
author | ByteHamster <ByteHamster@users.noreply.github.com> | 2024-03-23 11:27:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-23 11:27:55 +0100 |
commit | f6b45e7162ce3909cb2b04a4124e71aad22240c6 (patch) | |
tree | 9aa8a0b64b399c99da4e8d82ad4dae146a10564f /storage/database | |
parent | f20ce1fc690788273bb779663a4f3211f47a0973 (diff) | |
download | AntennaPod-f6b45e7162ce3909cb2b04a4124e71aad22240c6.zip |
Rename FeedMedia methods to no longer have underscores (#7017)
Diffstat (limited to 'storage/database')
-rw-r--r-- | storage/database/src/main/java/de/danoeh/antennapod/storage/database/PodDBAdapter.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/storage/database/src/main/java/de/danoeh/antennapod/storage/database/PodDBAdapter.java b/storage/database/src/main/java/de/danoeh/antennapod/storage/database/PodDBAdapter.java index 3fc0841e0..cbc295e70 100644 --- a/storage/database/src/main/java/de/danoeh/antennapod/storage/database/PodDBAdapter.java +++ b/storage/database/src/main/java/de/danoeh/antennapod/storage/database/PodDBAdapter.java @@ -416,8 +416,8 @@ public class PodDBAdapter { values.put(KEY_LANGUAGE, feed.getLanguage()); values.put(KEY_IMAGE_URL, feed.getImageUrl()); - values.put(KEY_FILE_URL, feed.getFile_url()); - values.put(KEY_DOWNLOAD_URL, feed.getDownload_url()); + values.put(KEY_FILE_URL, feed.getLocalFileUrl()); + values.put(KEY_DOWNLOAD_URL, feed.getDownloadUrl()); values.put(KEY_DOWNLOADED, feed.isDownloaded()); values.put(KEY_LASTUPDATE, feed.getLastModified()); values.put(KEY_TYPE, feed.getType()); @@ -493,10 +493,10 @@ public class PodDBAdapter { values.put(KEY_DURATION, media.getDuration()); values.put(KEY_POSITION, media.getPosition()); values.put(KEY_SIZE, media.getSize()); - values.put(KEY_MIME_TYPE, media.getMime_type()); - values.put(KEY_DOWNLOAD_URL, media.getDownload_url()); + values.put(KEY_MIME_TYPE, media.getMimeType()); + values.put(KEY_DOWNLOAD_URL, media.getDownloadUrl()); values.put(KEY_DOWNLOADED, media.isDownloaded()); - values.put(KEY_FILE_URL, media.getFile_url()); + values.put(KEY_FILE_URL, media.getLocalFileUrl()); values.put(KEY_HAS_EMBEDDED_PICTURE, media.hasEmbeddedPicture()); values.put(KEY_LAST_PLAYED_TIME, media.getLastPlayedTime()); |